Skip to content

Commit

Permalink
us_pseudo3d_combine.cpp : extended plot min/max range per BD
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Dec 17, 2023
1 parent 6c45f23 commit ae9708c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions programs/us_pseudo3d_combine/us_pseudo3d_combine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ US_Pseudo3D_Combine::US_Pseudo3D_Combine() : US_Widgets()
lb_plt_smin = us_label( tr( "Plot Limit s Minimum:" ) );
lb_plt_smin->setAlignment( Qt::AlignVCenter | Qt::AlignLeft );

ct_plt_smin = us_counter( 3, -10000.0, 10000.0, 1.0 );
ct_plt_smin = us_counter( 3, -100000.0, 100000.0, 1.0 );
ct_plt_smin->setSingleStep( 1 );
connect( ct_plt_smin, SIGNAL( valueChanged( double ) ),
this, SLOT( update_plot_smin( double ) ) );

lb_plt_smax = us_label( tr( "Plot Limit s Maximum:" ) );
lb_plt_smax->setAlignment( Qt::AlignVCenter | Qt::AlignLeft );

ct_plt_smax = us_counter( 3, -100.0, 10000.0, 10.0 );
ct_plt_smax = us_counter( 3, -100.0, 100000.0, 10.0 );
ct_plt_smax->setSingleStep( 1 );
connect( ct_plt_smax, SIGNAL( valueChanged( double ) ),
this, SLOT( update_plot_smax( double ) ) );
Expand Down Expand Up @@ -436,11 +436,11 @@ void US_Pseudo3D_Combine::reset( void )

plt_smin = 1.0;
plt_smax = 10.0;
ct_plt_smin->setRange( -1000.0, 10000.0 );
ct_plt_smin->setRange( -1000.0, 100000.0 );
ct_plt_smin->setSingleStep( 0.01 );
ct_plt_smin->setValue( plt_smin );
ct_plt_smin->setEnabled( false );
ct_plt_smax->setRange( -100.0, 10000.0 );
ct_plt_smax->setRange( -100.0, 100000.0 );
ct_plt_smax->setSingleStep( 0.01 );
ct_plt_smax->setValue( plt_smax );
ct_plt_smax->setEnabled( false );
Expand Down Expand Up @@ -1388,8 +1388,8 @@ void US_Pseudo3D_Combine::select_x_axis( int ival )
const QString xlabs[] = { "s", "f/f0", "MW", "vbar", "D", "f" };
const double xvlos[] = { 1.0, 1.0, 2e+4, 0.60, 1e-8, 1e-8 };
const double xvhis[] = { 10.0, 4.0, 1e+5, 0.80, 1e-7, 1e-7 };
const double xmins[] = { -10000.0, 1.0, 0.0, 0.01, 1e-9, 1e-9 };
const double xmaxs[] = { 10000.0, 50.0, 1e+10, 3.00, 1e-5, 1e-5 };
const double xmins[] = { -100000.0, 1.0, 0.0, 0.01, 1e-9, 1e-9 };
const double xmaxs[] = { 100000.0, 50.0, 1e+10, 3.00, 1e-5, 1e-5 };
const double xincs[] = { 0.01, 0.01, 1000.0, 0.01, 1e-9, 1e-9 };

plot_x = ival;
Expand Down Expand Up @@ -1427,8 +1427,8 @@ void US_Pseudo3D_Combine::select_y_axis( int ival )
const QString ylabs[] = { "s", "f/f0", "MW", "vbar", "D", "f" };
const double yvlos[] = { 1.0, 1.0, 2e+4, 0.60, 0.0, 1e-8 };
const double yvhis[] = { 10.0, 4.0, 1e+5, 0.80, 30.0, 1e-7 };
const double ymins[] = { -10000.0, 1.0, 0.0, 0.01, 0.0, 1e-9 };
const double ymaxs[] = { 10000.0, 50.0, 1e+10, 3.00, 10000.0, 1e-5 };
const double ymins[] = { -100000.0, 1.0, 0.0, 0.01, 0.0, 1e-9 };
const double ymaxs[] = { 100000.0, 50.0, 1e+10, 3.00,100000.0, 1e-5 };
const double yincs[] = { 0.01, 0.01, 1000.0, 0.01, 0.01, 1e-9 };

plot_y = ival;
Expand Down

0 comments on commit ae9708c

Please sign in to comment.