« lib/App/SeismicUnixGui/sunix/plot/psmovie.pm
↑ Summary
lib/App/SeismicUnixGui/sunix/plot/pswigp.pm »
| 1 | package App::SeismicUnixGui::sunix::plot::pswigb; | ||
| 2 | |||
| 3 | =head2 SYNOPSIS | ||
| 4 | |||
| 5 | PERL PROGRAM NAME: | ||
| 6 | |||
| 7 | AUTHOR: Juan Lorenzo (Perl module only) | ||
| 8 | |||
| 9 | DATE: | ||
| 10 | |||
| 11 | DESCRIPTION: | ||
| 12 | |||
| 13 | Version: | ||
| 14 | |||
| 15 | =head2 USE | ||
| 16 | |||
| 17 | =head3 NOTES | ||
| 18 | |||
| 19 | =head4 Examples | ||
| 20 | |||
| 21 | =head2 SYNOPSIS | ||
| 22 | |||
| 23 | =head3 SEISMIC UNIX NOTES | ||
| 24 | PSWIGB - PostScript WIGgle-trace plot of f(x1,x2) via Bitmap | ||
| 25 | |||
| 26 | Best for many traces. Use PSWIGP (Polygon version) for few traces. | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | pswigb n1= [optional parameters] <binaryfile >postscriptfile | ||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | Required Parameters: | ||
| 35 | |||
| 36 | n1 number of samples in 1st (fast) dimension | ||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | Optional Parameters: | ||
| 41 | |||
| 42 | d1=1.0 sampling interval in 1st dimension | ||
| 43 | |||
| 44 | f1=0.0 first sample in 1st dimension | ||
| 45 | |||
| 46 | n2=all number of samples in 2nd (slow) dimension | ||
| 47 | |||
| 48 | d2=1.0 sampling interval in 2nd dimension | ||
| 49 | |||
| 50 | f2=0.0 first sample in 2nd dimension | ||
| 51 | |||
| 52 | x2=f2,f2+d2,... array of sampled values in 2nd dimension | ||
| 53 | |||
| 54 | bias=0.0 data value corresponding to location along axis 2 | ||
| 55 | |||
| 56 | perc=100.0 percentile for determining clip | ||
| 57 | |||
| 58 | clip=(perc percentile) data values < bias+clip and > bias-clip are clipped | ||
| 59 | |||
| 60 | xcur=1.0 wiggle excursion in traces corresponding to clip | ||
| 61 | |||
| 62 | wt=1 =0 for no wiggle-trace; =1 for wiggle-trace | ||
| 63 | |||
| 64 | va=1 =0 for no variable-area; =1 for variable-area fill | ||
| 65 | |||
| 66 | =2 for variable area, solid/grey fill | ||
| 67 | |||
| 68 | SHADING: 2<= va <=5 va=2 lightgrey, va=5 black", | ||
| 69 | |||
| 70 | nbpi=72 number of bits per inch at which to rasterize | ||
| 71 | |||
| 72 | verbose=1 =1 for info printed on stderr (0 for no info) | ||
| 73 | |||
| 74 | xbox=1.5 offset in inches of left side of axes box | ||
| 75 | |||
| 76 | ybox=1.5 offset in inches of bottom side of axes box | ||
| 77 | |||
| 78 | wbox=6.0 width in inches of axes box | ||
| 79 | |||
| 80 | hbox=8.0 height in inches of axes box | ||
| 81 | |||
| 82 | x1beg=x1min value at which axis 1 begins | ||
| 83 | |||
| 84 | x1end=x1max value at which axis 1 ends | ||
| 85 | |||
| 86 | d1num=0.0 numbered tic interval on axis 1 (0.0 for automatic) | ||
| 87 | |||
| 88 | f1num=x1min first numbered tic on axis 1 (used if d1num not 0.0) | ||
| 89 | |||
| 90 | n1tic=1 number of tics per numbered tic on axis 1 | ||
| 91 | |||
| 92 | grid1=none grid lines on axis 1 - none, dot, dash, or solid | ||
| 93 | |||
| 94 | label1= label on axis 1 | ||
| 95 | |||
| 96 | x2beg=x2min value at which axis 2 begins | ||
| 97 | |||
| 98 | x2end=x2max value at which axis 2 ends | ||
| 99 | |||
| 100 | d2num=0.0 numbered tic interval on axis 2 (0.0 for automatic) | ||
| 101 | |||
| 102 | f2num=x2min first numbered tic on axis 2 (used if d2num not 0.0) | ||
| 103 | |||
| 104 | n2tic=1 number of tics per numbered tic on axis 2 | ||
| 105 | |||
| 106 | grid2=none grid lines on axis 2 - none, dot, dash, or solid | ||
| 107 | |||
| 108 | label2= label on axis 2 | ||
| 109 | |||
| 110 | labelfont=Helvetica font name for axes labels | ||
| 111 | |||
| 112 | labelsize=18 font size for axes labels | ||
| 113 | |||
| 114 | title= title of plot | ||
| 115 | |||
| 116 | titlefont=Helvetica-Bold font name for title | ||
| 117 | |||
| 118 | titlesize=24 font size for title | ||
| 119 | |||
| 120 | titlecolor=black color of title | ||
| 121 | |||
| 122 | axescolor=black color of axes | ||
| 123 | |||
| 124 | gridcolor=black color of grid | ||
| 125 | |||
| 126 | axeswidth=1 width (in points) of axes | ||
| 127 | |||
| 128 | ticwidth=axeswidth width (in points) of tic marks | ||
| 129 | |||
| 130 | gridwidth=axeswidth width (in points) of grid lines | ||
| 131 | |||
| 132 | style=seismic normal (axis 1 horizontal, axis 2 vertical) or | ||
| 133 | |||
| 134 | seismic (axis 1 vertical, axis 2 horizontal) | ||
| 135 | |||
| 136 | interp=0 no display interpolation | ||
| 137 | |||
| 138 | =1 use 8 point sinc interpolation | ||
| 139 | |||
| 140 | curve=curve1,curve2,... file(s) containing points to draw curve(s) | ||
| 141 | |||
| 142 | npair=n1,n2,n2,... number(s) of pairs in each file | ||
| 143 | |||
| 144 | curvecolor=black,.. color of curve(s) | ||
| 145 | |||
| 146 | curvewidth=axeswidth width (in points) of curve(s) | ||
| 147 | |||
| 148 | curvedash=0 solid curve(s), dash indices 1,...,11 produce | ||
| 149 | |||
| 150 | curve(s) with various dash styles | ||
| 151 | |||
| 152 | |||
| 153 | |||
| 154 | Notes: | ||
| 155 | |||
| 156 | The interp option may be useful for high nbpi values, however, it | ||
| 157 | |||
| 158 | tacitly assumes that the data are purely oscillatory. Non-oscillatory | ||
| 159 | |||
| 160 | data will not be represented correctly when this option is set. | ||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | The curve file is an ascii file with the points specified as x1 x2 | ||
| 165 | |||
| 166 | pairs, one pair to a line. A "vector" of curve files and curve | ||
| 167 | |||
| 168 | colors may be specified as curvefile=file1,file2,etc. and | ||
| 169 | |||
| 170 | curvecolor=color1,color2,etc, and the number of pairs of values in each | ||
| 171 | |||
| 172 | file as npair=npair1,npair2,... . | ||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | All color specifications may also be made in X Window style Hex format | ||
| 177 | |||
| 178 | example: axescolor=#255 | ||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | Legal font names are: | ||
| 183 | |||
| 184 | AvantGarde-Book AvantGarde-BookOblique AvantGarde-Demi AvantGarde-DemiOblique" | ||
| 185 | |||
| 186 | Bookman-Demi Bookman-DemiItalic Bookman-Light Bookman-LightItalic | ||
| 187 | |||
| 188 | Courier Courier-Bold Courier-BoldOblique Courier-Oblique | ||
| 189 | |||
| 190 | Helvetica Helvetica-Bold Helvetica-BoldOblique Helvetica-Oblique | ||
| 191 | |||
| 192 | Helvetica-Narrow Helvetica-Narrow-Bold Helvetica-Narrow-BoldOblique | ||
| 193 | |||
| 194 | Helvetica-Narrow-Oblique NewCentrySchlbk-Bold" | ||
| 195 | |||
| 196 | NewCenturySchlbk-BoldItalic NewCenturySchlbk-Roman Palatino-Bold | ||
| 197 | |||
| 198 | Palatino-BoldItalic Palatino-Italics Palatino-Roman | ||
| 199 | |||
| 200 | SanSerif-Bold SanSerif-BoldItalic SanSerif-Roman | ||
| 201 | |||
| 202 | Symbol Times-Bold Times-BoldItalic | ||
| 203 | |||
| 204 | Times-Roman Times-Italic ZapfChancery-MediumItalic | ||
| 205 | |||
| 206 | |||
| 207 | |||
| 208 | =head2 User's notes (Juan Lorenzo) | ||
| 209 | untested | ||
| 210 | |||
| 211 | =cut | ||
| 212 | |||
| 213 | |||
| 214 | =head2 CHANGES and their DATES | ||
| 215 | |||
| 216 | =cut | ||
| 217 | |||
| 218 | use Moose; | ||
| 219 | our $VERSION = '0.0.1'; | ||
| 220 | |||
| 221 | |||
| 222 | =head2 Import packages | ||
| 223 | |||
| 224 | =cut | ||
| 225 | |||
| 226 | use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants'; | ||
| 227 | |||
| 228 | use App::SeismicUnixGui::misc::SeismicUnix qw($in $out $on $go $to $suffix_ascii $off $suffix_su $suffix_bin); | ||
| 229 | use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config'; | ||
| 230 | |||
| 231 | |||
| 232 | =head2 instantiation of packages | ||
| 233 | |||
| 234 | =cut | ||
| 235 | |||
| 236 | my $get = L_SU_global_constants->new(); | ||
| 237 | my $Project = Project_config->new(); | ||
| 238 | my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU(); | ||
| 239 | my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN(); | ||
| 240 | my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT(); | ||
| 241 | |||
| 242 | my $var = $get->var(); | ||
| 243 | my $on = $var->{_on}; | ||
| 244 | my $off = $var->{_off}; | ||
| 245 | my $true = $var->{_true}; | ||
| 246 | my $false = $var->{_false}; | ||
| 247 | my $empty_string = $var->{_empty_string}; | ||
| 248 | |||
| 249 | =head2 Encapsulated | ||
| 250 | hash of private variables | ||
| 251 | |||
| 252 | =cut | ||
| 253 | |||
| 254 | my $pswigb = { | ||
| 255 | _axescolor => '', | ||
| 256 | _axeswidth => '', | ||
| 257 | _bias => '', | ||
| 258 | _clip => '', | ||
| 259 | _curve => '', | ||
| 260 | _curvecolor => '', | ||
| 261 | _curvedash => '', | ||
| 262 | _curvefile => '', | ||
| 263 | _curvewidth => '', | ||
| 264 | _d1 => '', | ||
| 265 | _d1num => '', | ||
| 266 | _d2 => '', | ||
| 267 | _d2num => '', | ||
| 268 | _f1 => '', | ||
| 269 | _f1num => '', | ||
| 270 | _f2 => '', | ||
| 271 | _f2num => '', | ||
| 272 | _grid1 => '', | ||
| 273 | _grid2 => '', | ||
| 274 | _gridcolor => '', | ||
| 275 | _gridwidth => '', | ||
| 276 | _hbox => '', | ||
| 277 | _interp => '', | ||
| 278 | _label1 => '', | ||
| 279 | _label2 => '', | ||
| 280 | _labelfont => '', | ||
| 281 | _labelsize => '', | ||
| 282 | _n1 => '', | ||
| 283 | _n1tic => '', | ||
| 284 | _n2 => '', | ||
| 285 | _n2tic => '', | ||
| 286 | _nbpi => '', | ||
| 287 | _npair => '', | ||
| 288 | _perc => '', | ||
| 289 | _style => '', | ||
| 290 | _ticwidth => '', | ||
| 291 | _title => '', | ||
| 292 | _titlecolor => '', | ||
| 293 | _titlefont => '', | ||
| 294 | _titlesize => '', | ||
| 295 | _va => '', | ||
| 296 | _verbose => '', | ||
| 297 | _wbox => '', | ||
| 298 | _wt => '', | ||
| 299 | _x1beg => '', | ||
| 300 | _x1end => '', | ||
| 301 | _x2 => '', | ||
| 302 | _x2beg => '', | ||
| 303 | _x2end => '', | ||
| 304 | _xbox => '', | ||
| 305 | _xcur => '', | ||
| 306 | _ybox => '', | ||
| 307 | _Step => '', | ||
| 308 | _note => '', | ||
| 309 | |||
| 310 | }; | ||
| 311 | |||
| 312 | =head2 sub Step | ||
| 313 | |||
| 314 | collects switches and assembles bash instructions | ||
| 315 | by adding the program name | ||
| 316 | |||
| 317 | =cut | ||
| 318 | |||
| 319 | sub Step { | ||
| 320 | |||
| 321 | $pswigb->{_Step} = 'pswigb'.$pswigb->{_Step}; | ||
| 322 | return ( $pswigb->{_Step} ); | ||
| 323 | |||
| 324 | } | ||
| 325 | |||
| 326 | |||
| 327 | =head2 sub note | ||
| 328 | |||
| 329 | collects switches and assembles bash instructions | ||
| 330 | by adding the program name | ||
| 331 | |||
| 332 | =cut | ||
| 333 | |||
| 334 | sub note { | ||
| 335 | |||
| 336 | $pswigb->{_note} = 'pswigb'.$pswigb->{_note}; | ||
| 337 | return ( $pswigb->{_note} ); | ||
| 338 | |||
| 339 | } | ||
| 340 | |||
| 341 | |||
| 342 | |||
| 343 | =head2 sub clear | ||
| 344 | |||
| 345 | =cut | ||
| 346 | |||
| 347 | sub clear { | ||
| 348 | |||
| 349 | $pswigb->{_axescolor} = ''; | ||
| 350 | $pswigb->{_axeswidth} = ''; | ||
| 351 | $pswigb->{_bias} = ''; | ||
| 352 | $pswigb->{_clip} = ''; | ||
| 353 | $pswigb->{_curve} = ''; | ||
| 354 | $pswigb->{_curvecolor} = ''; | ||
| 355 | $pswigb->{_curvedash} = ''; | ||
| 356 | $pswigb->{_curvefile} = ''; | ||
| 357 | $pswigb->{_curvewidth} = ''; | ||
| 358 | $pswigb->{_d1} = ''; | ||
| 359 | $pswigb->{_d1num} = ''; | ||
| 360 | $pswigb->{_d2} = ''; | ||
| 361 | $pswigb->{_d2num} = ''; | ||
| 362 | $pswigb->{_f1} = ''; | ||
| 363 | $pswigb->{_f1num} = ''; | ||
| 364 | $pswigb->{_f2} = ''; | ||
| 365 | $pswigb->{_f2num} = ''; | ||
| 366 | $pswigb->{_grid1} = ''; | ||
| 367 | $pswigb->{_grid2} = ''; | ||
| 368 | $pswigb->{_gridcolor} = ''; | ||
| 369 | $pswigb->{_gridwidth} = ''; | ||
| 370 | $pswigb->{_hbox} = ''; | ||
| 371 | $pswigb->{_interp} = ''; | ||
| 372 | $pswigb->{_label1} = ''; | ||
| 373 | $pswigb->{_label2} = ''; | ||
| 374 | $pswigb->{_labelfont} = ''; | ||
| 375 | $pswigb->{_labelsize} = ''; | ||
| 376 | $pswigb->{_n1} = ''; | ||
| 377 | $pswigb->{_n1tic} = ''; | ||
| 378 | $pswigb->{_n2} = ''; | ||
| 379 | $pswigb->{_n2tic} = ''; | ||
| 380 | $pswigb->{_nbpi} = ''; | ||
| 381 | $pswigb->{_npair} = ''; | ||
| 382 | $pswigb->{_perc} = ''; | ||
| 383 | $pswigb->{_style} = ''; | ||
| 384 | $pswigb->{_ticwidth} = ''; | ||
| 385 | $pswigb->{_title} = ''; | ||
| 386 | $pswigb->{_titlecolor} = ''; | ||
| 387 | $pswigb->{_titlefont} = ''; | ||
| 388 | $pswigb->{_titlesize} = ''; | ||
| 389 | $pswigb->{_va} = ''; | ||
| 390 | $pswigb->{_verbose} = ''; | ||
| 391 | $pswigb->{_wbox} = ''; | ||
| 392 | $pswigb->{_wt} = ''; | ||
| 393 | $pswigb->{_x1beg} = ''; | ||
| 394 | $pswigb->{_x1end} = ''; | ||
| 395 | $pswigb->{_x2} = ''; | ||
| 396 | $pswigb->{_x2beg} = ''; | ||
| 397 | $pswigb->{_x2end} = ''; | ||
| 398 | $pswigb->{_xbox} = ''; | ||
| 399 | $pswigb->{_xcur} = ''; | ||
| 400 | $pswigb->{_ybox} = ''; | ||
| 401 | $pswigb->{_Step} = ''; | ||
| 402 | $pswigb->{_note} = ''; | ||
| 403 | } | ||
| 404 | |||
| 405 | |||
| 406 | =head2 sub axescolor | ||
| 407 | |||
| 408 | |||
| 409 | =cut | ||
| 410 | |||
| 411 | sub axescolor { | ||
| 412 | |||
| 413 | my ( $self,$axescolor ) = @_; | ||
| 414 | if ( $axescolor ne $empty_string ) { | ||
| 415 | |||
| 416 | $pswigb->{_axescolor} = $axescolor; | ||
| 417 | $pswigb->{_note} = $pswigb->{_note}.' axescolor='.$pswigb->{_axescolor}; | ||
| 418 | $pswigb->{_Step} = $pswigb->{_Step}.' axescolor='.$pswigb->{_axescolor}; | ||
| 419 | |||
| 420 | } else { | ||
| 421 | print("pswigb, axescolor, missing axescolor,\n"); | ||
| 422 | } | ||
| 423 | } | ||
| 424 | |||
| 425 | |||
| 426 | =head2 sub axeswidth | ||
| 427 | |||
| 428 | |||
| 429 | =cut | ||
| 430 | |||
| 431 | sub axeswidth { | ||
| 432 | |||
| 433 | my ( $self,$axeswidth ) = @_; | ||
| 434 | if ( $axeswidth ne $empty_string ) { | ||
| 435 | |||
| 436 | $pswigb->{_axeswidth} = $axeswidth; | ||
| 437 | $pswigb->{_note} = $pswigb->{_note}.' axeswidth='.$pswigb->{_axeswidth}; | ||
| 438 | $pswigb->{_Step} = $pswigb->{_Step}.' axeswidth='.$pswigb->{_axeswidth}; | ||
| 439 | |||
| 440 | } else { | ||
| 441 | print("pswigb, axeswidth, missing axeswidth,\n"); | ||
| 442 | } | ||
| 443 | } | ||
| 444 | |||
| 445 | |||
| 446 | =head2 sub bias | ||
| 447 | |||
| 448 | |||
| 449 | =cut | ||
| 450 | |||
| 451 | sub bias { | ||
| 452 | |||
| 453 | my ( $self,$bias ) = @_; | ||
| 454 | if ( $bias ne $empty_string ) { | ||
| 455 | |||
| 456 | $pswigb->{_bias} = $bias; | ||
| 457 | $pswigb->{_note} = $pswigb->{_note}.' bias='.$pswigb->{_bias}; | ||
| 458 | $pswigb->{_Step} = $pswigb->{_Step}.' bias='.$pswigb->{_bias}; | ||
| 459 | |||
| 460 | } else { | ||
| 461 | print("pswigb, bias, missing bias,\n"); | ||
| 462 | } | ||
| 463 | } | ||
| 464 | |||
| 465 | |||
| 466 | =head2 sub clip | ||
| 467 | |||
| 468 | |||
| 469 | =cut | ||
| 470 | |||
| 471 | sub clip { | ||
| 472 | |||
| 473 | my ( $self,$clip ) = @_; | ||
| 474 | if ( $clip ne $empty_string ) { | ||
| 475 | |||
| 476 | $pswigb->{_clip} = $clip; | ||
| 477 | $pswigb->{_note} = $pswigb->{_note}.' clip='.$pswigb->{_clip}; | ||
| 478 | $pswigb->{_Step} = $pswigb->{_Step}.' clip='.$pswigb->{_clip}; | ||
| 479 | |||
| 480 | } else { | ||
| 481 | print("pswigb, clip, missing clip,\n"); | ||
| 482 | } | ||
| 483 | } | ||
| 484 | |||
| 485 | |||
| 486 | =head2 sub curve | ||
| 487 | |||
| 488 | |||
| 489 | =cut | ||
| 490 | |||
| 491 | sub curve { | ||
| 492 | |||
| 493 | my ( $self,$curve ) = @_; | ||
| 494 | if ( $curve ne $empty_string ) { | ||
| 495 | |||
| 496 | $pswigb->{_curve} = $curve; | ||
| 497 | $pswigb->{_note} = $pswigb->{_note}.' curve='.$pswigb->{_curve}; | ||
| 498 | $pswigb->{_Step} = $pswigb->{_Step}.' curve='.$pswigb->{_curve}; | ||
| 499 | |||
| 500 | } else { | ||
| 501 | print("pswigb, curve, missing curve,\n"); | ||
| 502 | } | ||
| 503 | } | ||
| 504 | |||
| 505 | |||
| 506 | =head2 sub curvecolor | ||
| 507 | |||
| 508 | |||
| 509 | =cut | ||
| 510 | |||
| 511 | sub curvecolor { | ||
| 512 | |||
| 513 | my ( $self,$curvecolor ) = @_; | ||
| 514 | if ( $curvecolor ne $empty_string ) { | ||
| 515 | |||
| 516 | $pswigb->{_curvecolor} = $curvecolor; | ||
| 517 | $pswigb->{_note} = $pswigb->{_note}.' curvecolor='.$pswigb->{_curvecolor}; | ||
| 518 | $pswigb->{_Step} = $pswigb->{_Step}.' curvecolor='.$pswigb->{_curvecolor}; | ||
| 519 | |||
| 520 | } else { | ||
| 521 | print("pswigb, curvecolor, missing curvecolor,\n"); | ||
| 522 | } | ||
| 523 | } | ||
| 524 | |||
| 525 | |||
| 526 | =head2 sub curvedash | ||
| 527 | |||
| 528 | |||
| 529 | =cut | ||
| 530 | |||
| 531 | sub curvedash { | ||
| 532 | |||
| 533 | my ( $self,$curvedash ) = @_; | ||
| 534 | if ( $curvedash ne $empty_string ) { | ||
| 535 | |||
| 536 | $pswigb->{_curvedash} = $curvedash; | ||
| 537 | $pswigb->{_note} = $pswigb->{_note}.' curvedash='.$pswigb->{_curvedash}; | ||
| 538 | $pswigb->{_Step} = $pswigb->{_Step}.' curvedash='.$pswigb->{_curvedash}; | ||
| 539 | |||
| 540 | } else { | ||
| 541 | print("pswigb, curvedash, missing curvedash,\n"); | ||
| 542 | } | ||
| 543 | } | ||
| 544 | |||
| 545 | |||
| 546 | =head2 sub curvefile | ||
| 547 | |||
| 548 | |||
| 549 | =cut | ||
| 550 | |||
| 551 | sub curvefile { | ||
| 552 | |||
| 553 | my ( $self,$curvefile ) = @_; | ||
| 554 | if ( $curvefile ne $empty_string ) { | ||
| 555 | |||
| 556 | $pswigb->{_curvefile} = $curvefile; | ||
| 557 | $pswigb->{_note} = $pswigb->{_note}.' curvefile='.$pswigb->{_curvefile}; | ||
| 558 | $pswigb->{_Step} = $pswigb->{_Step}.' curvefile='.$pswigb->{_curvefile}; | ||
| 559 | |||
| 560 | } else { | ||
| 561 | print("pswigb, curvefile, missing curvefile,\n"); | ||
| 562 | } | ||
| 563 | } | ||
| 564 | |||
| 565 | |||
| 566 | =head2 sub curvewidth | ||
| 567 | |||
| 568 | |||
| 569 | =cut | ||
| 570 | |||
| 571 | sub curvewidth { | ||
| 572 | |||
| 573 | my ( $self,$curvewidth ) = @_; | ||
| 574 | if ( $curvewidth ne $empty_string ) { | ||
| 575 | |||
| 576 | $pswigb->{_curvewidth} = $curvewidth; | ||
| 577 | $pswigb->{_note} = $pswigb->{_note}.' curvewidth='.$pswigb->{_curvewidth}; | ||
| 578 | $pswigb->{_Step} = $pswigb->{_Step}.' curvewidth='.$pswigb->{_curvewidth}; | ||
| 579 | |||
| 580 | } else { | ||
| 581 | print("pswigb, curvewidth, missing curvewidth,\n"); | ||
| 582 | } | ||
| 583 | } | ||
| 584 | |||
| 585 | |||
| 586 | =head2 sub d1 | ||
| 587 | |||
| 588 | |||
| 589 | =cut | ||
| 590 | |||
| 591 | sub d1 { | ||
| 592 | |||
| 593 | my ( $self,$d1 ) = @_; | ||
| 594 | if ( $d1 ne $empty_string ) { | ||
| 595 | |||
| 596 | $pswigb->{_d1} = $d1; | ||
| 597 | $pswigb->{_note} = $pswigb->{_note}.' d1='.$pswigb->{_d1}; | ||
| 598 | $pswigb->{_Step} = $pswigb->{_Step}.' d1='.$pswigb->{_d1}; | ||
| 599 | |||
| 600 | } else { | ||
| 601 | print("pswigb, d1, missing d1,\n"); | ||
| 602 | } | ||
| 603 | } | ||
| 604 | |||
| 605 | |||
| 606 | =head2 sub d1num | ||
| 607 | |||
| 608 | |||
| 609 | =cut | ||
| 610 | |||
| 611 | sub d1num { | ||
| 612 | |||
| 613 | my ( $self,$d1num ) = @_; | ||
| 614 | if ( $d1num ne $empty_string ) { | ||
| 615 | |||
| 616 | $pswigb->{_d1num} = $d1num; | ||
| 617 | $pswigb->{_note} = $pswigb->{_note}.' d1num='.$pswigb->{_d1num}; | ||
| 618 | $pswigb->{_Step} = $pswigb->{_Step}.' d1num='.$pswigb->{_d1num}; | ||
| 619 | |||
| 620 | } else { | ||
| 621 | print("pswigb, d1num, missing d1num,\n"); | ||
| 622 | } | ||
| 623 | } | ||
| 624 | |||
| 625 | |||
| 626 | =head2 sub d2 | ||
| 627 | |||
| 628 | |||
| 629 | =cut | ||
| 630 | |||
| 631 | sub d2 { | ||
| 632 | |||
| 633 | my ( $self,$d2 ) = @_; | ||
| 634 | if ( $d2 ne $empty_string ) { | ||
| 635 | |||
| 636 | $pswigb->{_d2} = $d2; | ||
| 637 | $pswigb->{_note} = $pswigb->{_note}.' d2='.$pswigb->{_d2}; | ||
| 638 | $pswigb->{_Step} = $pswigb->{_Step}.' d2='.$pswigb->{_d2}; | ||
| 639 | |||
| 640 | } else { | ||
| 641 | print("pswigb, d2, missing d2,\n"); | ||
| 642 | } | ||
| 643 | } | ||
| 644 | |||
| 645 | |||
| 646 | =head2 sub d2num | ||
| 647 | |||
| 648 | |||
| 649 | =cut | ||
| 650 | |||
| 651 | sub d2num { | ||
| 652 | |||
| 653 | my ( $self,$d2num ) = @_; | ||
| 654 | if ( $d2num ne $empty_string ) { | ||
| 655 | |||
| 656 | $pswigb->{_d2num} = $d2num; | ||
| 657 | $pswigb->{_note} = $pswigb->{_note}.' d2num='.$pswigb->{_d2num}; | ||
| 658 | $pswigb->{_Step} = $pswigb->{_Step}.' d2num='.$pswigb->{_d2num}; | ||
| 659 | |||
| 660 | } else { | ||
| 661 | print("pswigb, d2num, missing d2num,\n"); | ||
| 662 | } | ||
| 663 | } | ||
| 664 | |||
| 665 | |||
| 666 | =head2 sub f1 | ||
| 667 | |||
| 668 | |||
| 669 | =cut | ||
| 670 | |||
| 671 | sub f1 { | ||
| 672 | |||
| 673 | my ( $self,$f1 ) = @_; | ||
| 674 | if ( $f1 ne $empty_string ) { | ||
| 675 | |||
| 676 | $pswigb->{_f1} = $f1; | ||
| 677 | $pswigb->{_note} = $pswigb->{_note}.' f1='.$pswigb->{_f1}; | ||
| 678 | $pswigb->{_Step} = $pswigb->{_Step}.' f1='.$pswigb->{_f1}; | ||
| 679 | |||
| 680 | } else { | ||
| 681 | print("pswigb, f1, missing f1,\n"); | ||
| 682 | } | ||
| 683 | } | ||
| 684 | |||
| 685 | |||
| 686 | =head2 sub f1num | ||
| 687 | |||
| 688 | |||
| 689 | =cut | ||
| 690 | |||
| 691 | sub f1num { | ||
| 692 | |||
| 693 | my ( $self,$f1num ) = @_; | ||
| 694 | if ( $f1num ne $empty_string ) { | ||
| 695 | |||
| 696 | $pswigb->{_f1num} = $f1num; | ||
| 697 | $pswigb->{_note} = $pswigb->{_note}.' f1num='.$pswigb->{_f1num}; | ||
| 698 | $pswigb->{_Step} = $pswigb->{_Step}.' f1num='.$pswigb->{_f1num}; | ||
| 699 | |||
| 700 | } else { | ||
| 701 | print("pswigb, f1num, missing f1num,\n"); | ||
| 702 | } | ||
| 703 | } | ||
| 704 | |||
| 705 | |||
| 706 | =head2 sub f2 | ||
| 707 | |||
| 708 | |||
| 709 | =cut | ||
| 710 | |||
| 711 | sub f2 { | ||
| 712 | |||
| 713 | my ( $self,$f2 ) = @_; | ||
| 714 | if ( $f2 ne $empty_string ) { | ||
| 715 | |||
| 716 | $pswigb->{_f2} = $f2; | ||
| 717 | $pswigb->{_note} = $pswigb->{_note}.' f2='.$pswigb->{_f2}; | ||
| 718 | $pswigb->{_Step} = $pswigb->{_Step}.' f2='.$pswigb->{_f2}; | ||
| 719 | |||
| 720 | } else { | ||
| 721 | print("pswigb, f2, missing f2,\n"); | ||
| 722 | } | ||
| 723 | } | ||
| 724 | |||
| 725 | |||
| 726 | =head2 sub f2num | ||
| 727 | |||
| 728 | |||
| 729 | =cut | ||
| 730 | |||
| 731 | sub f2num { | ||
| 732 | |||
| 733 | my ( $self,$f2num ) = @_; | ||
| 734 | if ( $f2num ne $empty_string ) { | ||
| 735 | |||
| 736 | $pswigb->{_f2num} = $f2num; | ||
| 737 | $pswigb->{_note} = $pswigb->{_note}.' f2num='.$pswigb->{_f2num}; | ||
| 738 | $pswigb->{_Step} = $pswigb->{_Step}.' f2num='.$pswigb->{_f2num}; | ||
| 739 | |||
| 740 | } else { | ||
| 741 | print("pswigb, f2num, missing f2num,\n"); | ||
| 742 | } | ||
| 743 | } | ||
| 744 | |||
| 745 | |||
| 746 | =head2 sub grid1 | ||
| 747 | |||
| 748 | |||
| 749 | =cut | ||
| 750 | |||
| 751 | sub grid1 { | ||
| 752 | |||
| 753 | my ( $self,$grid1 ) = @_; | ||
| 754 | if ( $grid1 ne $empty_string ) { | ||
| 755 | |||
| 756 | $pswigb->{_grid1} = $grid1; | ||
| 757 | $pswigb->{_note} = $pswigb->{_note}.' grid1='.$pswigb->{_grid1}; | ||
| 758 | $pswigb->{_Step} = $pswigb->{_Step}.' grid1='.$pswigb->{_grid1}; | ||
| 759 | |||
| 760 | } else { | ||
| 761 | print("pswigb, grid1, missing grid1,\n"); | ||
| 762 | } | ||
| 763 | } | ||
| 764 | |||
| 765 | |||
| 766 | =head2 sub grid2 | ||
| 767 | |||
| 768 | |||
| 769 | =cut | ||
| 770 | |||
| 771 | sub grid2 { | ||
| 772 | |||
| 773 | my ( $self,$grid2 ) = @_; | ||
| 774 | if ( $grid2 ne $empty_string ) { | ||
| 775 | |||
| 776 | $pswigb->{_grid2} = $grid2; | ||
| 777 | $pswigb->{_note} = $pswigb->{_note}.' grid2='.$pswigb->{_grid2}; | ||
| 778 | $pswigb->{_Step} = $pswigb->{_Step}.' grid2='.$pswigb->{_grid2}; | ||
| 779 | |||
| 780 | } else { | ||
| 781 | print("pswigb, grid2, missing grid2,\n"); | ||
| 782 | } | ||
| 783 | } | ||
| 784 | |||
| 785 | |||
| 786 | =head2 sub gridcolor | ||
| 787 | |||
| 788 | |||
| 789 | =cut | ||
| 790 | |||
| 791 | sub gridcolor { | ||
| 792 | |||
| 793 | my ( $self,$gridcolor ) = @_; | ||
| 794 | if ( $gridcolor ne $empty_string ) { | ||
| 795 | |||
| 796 | $pswigb->{_gridcolor} = $gridcolor; | ||
| 797 | $pswigb->{_note} = $pswigb->{_note}.' gridcolor='.$pswigb->{_gridcolor}; | ||
| 798 | $pswigb->{_Step} = $pswigb->{_Step}.' gridcolor='.$pswigb->{_gridcolor}; | ||
| 799 | |||
| 800 | } else { | ||
| 801 | print("pswigb, gridcolor, missing gridcolor,\n"); | ||
| 802 | } | ||
| 803 | } | ||
| 804 | |||
| 805 | |||
| 806 | =head2 sub gridwidth | ||
| 807 | |||
| 808 | |||
| 809 | =cut | ||
| 810 | |||
| 811 | sub gridwidth { | ||
| 812 | |||
| 813 | my ( $self,$gridwidth ) = @_; | ||
| 814 | if ( $gridwidth ne $empty_string ) { | ||
| 815 | |||
| 816 | $pswigb->{_gridwidth} = $gridwidth; | ||
| 817 | $pswigb->{_note} = $pswigb->{_note}.' gridwidth='.$pswigb->{_gridwidth}; | ||
| 818 | $pswigb->{_Step} = $pswigb->{_Step}.' gridwidth='.$pswigb->{_gridwidth}; | ||
| 819 | |||
| 820 | } else { | ||
| 821 | print("pswigb, gridwidth, missing gridwidth,\n"); | ||
| 822 | } | ||
| 823 | } | ||
| 824 | |||
| 825 | |||
| 826 | =head2 sub hbox | ||
| 827 | |||
| 828 | |||
| 829 | =cut | ||
| 830 | |||
| 831 | sub hbox { | ||
| 832 | |||
| 833 | my ( $self,$hbox ) = @_; | ||
| 834 | if ( $hbox ne $empty_string ) { | ||
| 835 | |||
| 836 | $pswigb->{_hbox} = $hbox; | ||
| 837 | $pswigb->{_note} = $pswigb->{_note}.' hbox='.$pswigb->{_hbox}; | ||
| 838 | $pswigb->{_Step} = $pswigb->{_Step}.' hbox='.$pswigb->{_hbox}; | ||
| 839 | |||
| 840 | } else { | ||
| 841 | print("pswigb, hbox, missing hbox,\n"); | ||
| 842 | } | ||
| 843 | } | ||
| 844 | |||
| 845 | |||
| 846 | =head2 sub interp | ||
| 847 | |||
| 848 | |||
| 849 | =cut | ||
| 850 | |||
| 851 | sub interp { | ||
| 852 | |||
| 853 | my ( $self,$interp ) = @_; | ||
| 854 | if ( $interp ne $empty_string ) { | ||
| 855 | |||
| 856 | $pswigb->{_interp} = $interp; | ||
| 857 | $pswigb->{_note} = $pswigb->{_note}.' interp='.$pswigb->{_interp}; | ||
| 858 | $pswigb->{_Step} = $pswigb->{_Step}.' interp='.$pswigb->{_interp}; | ||
| 859 | |||
| 860 | } else { | ||
| 861 | print("pswigb, interp, missing interp,\n"); | ||
| 862 | } | ||
| 863 | } | ||
| 864 | |||
| 865 | |||
| 866 | =head2 sub label1 | ||
| 867 | |||
| 868 | |||
| 869 | =cut | ||
| 870 | |||
| 871 | sub label1 { | ||
| 872 | |||
| 873 | my ( $self,$label1 ) = @_; | ||
| 874 | if ( $label1 ne $empty_string ) { | ||
| 875 | |||
| 876 | $pswigb->{_label1} = $label1; | ||
| 877 | $pswigb->{_note} = $pswigb->{_note}.' label1='.$pswigb->{_label1}; | ||
| 878 | $pswigb->{_Step} = $pswigb->{_Step}.' label1='.$pswigb->{_label1}; | ||
| 879 | |||
| 880 | } else { | ||
| 881 | print("pswigb, label1, missing label1,\n"); | ||
| 882 | } | ||
| 883 | } | ||
| 884 | |||
| 885 | |||
| 886 | =head2 sub label2 | ||
| 887 | |||
| 888 | |||
| 889 | =cut | ||
| 890 | |||
| 891 | sub label2 { | ||
| 892 | |||
| 893 | my ( $self,$label2 ) = @_; | ||
| 894 | if ( $label2 ne $empty_string ) { | ||
| 895 | |||
| 896 | $pswigb->{_label2} = $label2; | ||
| 897 | $pswigb->{_note} = $pswigb->{_note}.' label2='.$pswigb->{_label2}; | ||
| 898 | $pswigb->{_Step} = $pswigb->{_Step}.' label2='.$pswigb->{_label2}; | ||
| 899 | |||
| 900 | } else { | ||
| 901 | print("pswigb, label2, missing label2,\n"); | ||
| 902 | } | ||
| 903 | } | ||
| 904 | |||
| 905 | |||
| 906 | =head2 sub labelfont | ||
| 907 | |||
| 908 | |||
| 909 | =cut | ||
| 910 | |||
| 911 | sub labelfont { | ||
| 912 | |||
| 913 | my ( $self,$labelfont ) = @_; | ||
| 914 | if ( $labelfont ne $empty_string ) { | ||
| 915 | |||
| 916 | $pswigb->{_labelfont} = $labelfont; | ||
| 917 | $pswigb->{_note} = $pswigb->{_note}.' labelfont='.$pswigb->{_labelfont}; | ||
| 918 | $pswigb->{_Step} = $pswigb->{_Step}.' labelfont='.$pswigb->{_labelfont}; | ||
| 919 | |||
| 920 | } else { | ||
| 921 | print("pswigb, labelfont, missing labelfont,\n"); | ||
| 922 | } | ||
| 923 | } | ||
| 924 | |||
| 925 | |||
| 926 | =head2 sub labelsize | ||
| 927 | |||
| 928 | |||
| 929 | =cut | ||
| 930 | |||
| 931 | sub labelsize { | ||
| 932 | |||
| 933 | my ( $self,$labelsize ) = @_; | ||
| 934 | if ( $labelsize ne $empty_string ) { | ||
| 935 | |||
| 936 | $pswigb->{_labelsize} = $labelsize; | ||
| 937 | $pswigb->{_note} = $pswigb->{_note}.' labelsize='.$pswigb->{_labelsize}; | ||
| 938 | $pswigb->{_Step} = $pswigb->{_Step}.' labelsize='.$pswigb->{_labelsize}; | ||
| 939 | |||
| 940 | } else { | ||
| 941 | print("pswigb, labelsize, missing labelsize,\n"); | ||
| 942 | } | ||
| 943 | } | ||
| 944 | |||
| 945 | |||
| 946 | =head2 sub n1 | ||
| 947 | |||
| 948 | |||
| 949 | =cut | ||
| 950 | |||
| 951 | sub n1 { | ||
| 952 | |||
| 953 | my ( $self,$n1 ) = @_; | ||
| 954 | if ( $n1 ne $empty_string ) { | ||
| 955 | |||
| 956 | $pswigb->{_n1} = $n1; | ||
| 957 | $pswigb->{_note} = $pswigb->{_note}.' n1='.$pswigb->{_n1}; | ||
| 958 | $pswigb->{_Step} = $pswigb->{_Step}.' n1='.$pswigb->{_n1}; | ||
| 959 | |||
| 960 | } else { | ||
| 961 | print("pswigb, n1, missing n1,\n"); | ||
| 962 | } | ||
| 963 | } | ||
| 964 | |||
| 965 | |||
| 966 | =head2 sub n1tic | ||
| 967 | |||
| 968 | |||
| 969 | =cut | ||
| 970 | |||
| 971 | sub n1tic { | ||
| 972 | |||
| 973 | my ( $self,$n1tic ) = @_; | ||
| 974 | if ( $n1tic ne $empty_string ) { | ||
| 975 | |||
| 976 | $pswigb->{_n1tic} = $n1tic; | ||
| 977 | $pswigb->{_note} = $pswigb->{_note}.' n1tic='.$pswigb->{_n1tic}; | ||
| 978 | $pswigb->{_Step} = $pswigb->{_Step}.' n1tic='.$pswigb->{_n1tic}; | ||
| 979 | |||
| 980 | } else { | ||
| 981 | print("pswigb, n1tic, missing n1tic,\n"); | ||
| 982 | } | ||
| 983 | } | ||
| 984 | |||
| 985 | |||
| 986 | =head2 sub n2 | ||
| 987 | |||
| 988 | |||
| 989 | =cut | ||
| 990 | |||
| 991 | sub n2 { | ||
| 992 | |||
| 993 | my ( $self,$n2 ) = @_; | ||
| 994 | if ( $n2 ne $empty_string ) { | ||
| 995 | |||
| 996 | $pswigb->{_n2} = $n2; | ||
| 997 | $pswigb->{_note} = $pswigb->{_note}.' n2='.$pswigb->{_n2}; | ||
| 998 | $pswigb->{_Step} = $pswigb->{_Step}.' n2='.$pswigb->{_n2}; | ||
| 999 | |||
| 1000 | } else { | ||
| 1001 | print("pswigb, n2, missing n2,\n"); | ||
| 1002 | } | ||
| 1003 | } | ||
| 1004 | |||
| 1005 | |||
| 1006 | =head2 sub n2tic | ||
| 1007 | |||
| 1008 | |||
| 1009 | =cut | ||
| 1010 | |||
| 1011 | sub n2tic { | ||
| 1012 | |||
| 1013 | my ( $self,$n2tic ) = @_; | ||
| 1014 | if ( $n2tic ne $empty_string ) { | ||
| 1015 | |||
| 1016 | $pswigb->{_n2tic} = $n2tic; | ||
| 1017 | $pswigb->{_note} = $pswigb->{_note}.' n2tic='.$pswigb->{_n2tic}; | ||
| 1018 | $pswigb->{_Step} = $pswigb->{_Step}.' n2tic='.$pswigb->{_n2tic}; | ||
| 1019 | |||
| 1020 | } else { | ||
| 1021 | print("pswigb, n2tic, missing n2tic,\n"); | ||
| 1022 | } | ||
| 1023 | } | ||
| 1024 | |||
| 1025 | |||
| 1026 | =head2 sub nbpi | ||
| 1027 | |||
| 1028 | |||
| 1029 | =cut | ||
| 1030 | |||
| 1031 | sub nbpi { | ||
| 1032 | |||
| 1033 | my ( $self,$nbpi ) = @_; | ||
| 1034 | if ( $nbpi ne $empty_string ) { | ||
| 1035 | |||
| 1036 | $pswigb->{_nbpi} = $nbpi; | ||
| 1037 | $pswigb->{_note} = $pswigb->{_note}.' nbpi='.$pswigb->{_nbpi}; | ||
| 1038 | $pswigb->{_Step} = $pswigb->{_Step}.' nbpi='.$pswigb->{_nbpi}; | ||
| 1039 | |||
| 1040 | } else { | ||
| 1041 | print("pswigb, nbpi, missing nbpi,\n"); | ||
| 1042 | } | ||
| 1043 | } | ||
| 1044 | |||
| 1045 | |||
| 1046 | =head2 sub npair | ||
| 1047 | |||
| 1048 | |||
| 1049 | =cut | ||
| 1050 | |||
| 1051 | sub npair { | ||
| 1052 | |||
| 1053 | my ( $self,$npair ) = @_; | ||
| 1054 | if ( $npair ne $empty_string ) { | ||
| 1055 | |||
| 1056 | $pswigb->{_npair} = $npair; | ||
| 1057 | $pswigb->{_note} = $pswigb->{_note}.' npair='.$pswigb->{_npair}; | ||
| 1058 | $pswigb->{_Step} = $pswigb->{_Step}.' npair='.$pswigb->{_npair}; | ||
| 1059 | |||
| 1060 | } else { | ||
| 1061 | print("pswigb, npair, missing npair,\n"); | ||
| 1062 | } | ||
| 1063 | } | ||
| 1064 | |||
| 1065 | |||
| 1066 | =head2 sub perc | ||
| 1067 | |||
| 1068 | |||
| 1069 | =cut | ||
| 1070 | |||
| 1071 | sub perc { | ||
| 1072 | |||
| 1073 | my ( $self,$perc ) = @_; | ||
| 1074 | if ( $perc ne $empty_string ) { | ||
| 1075 | |||
| 1076 | $pswigb->{_perc} = $perc; | ||
| 1077 | $pswigb->{_note} = $pswigb->{_note}.' perc='.$pswigb->{_perc}; | ||
| 1078 | $pswigb->{_Step} = $pswigb->{_Step}.' perc='.$pswigb->{_perc}; | ||
| 1079 | |||
| 1080 | } else { | ||
| 1081 | print("pswigb, perc, missing perc,\n"); | ||
| 1082 | } | ||
| 1083 | } | ||
| 1084 | |||
| 1085 | |||
| 1086 | =head2 sub style | ||
| 1087 | |||
| 1088 | |||
| 1089 | =cut | ||
| 1090 | |||
| 1091 | sub style { | ||
| 1092 | |||
| 1093 | my ( $self,$style ) = @_; | ||
| 1094 | if ( $style ne $empty_string ) { | ||
| 1095 | |||
| 1096 | $pswigb->{_style} = $style; | ||
| 1097 | $pswigb->{_note} = $pswigb->{_note}.' style='.$pswigb->{_style}; | ||
| 1098 | $pswigb->{_Step} = $pswigb->{_Step}.' style='.$pswigb->{_style}; | ||
| 1099 | |||
| 1100 | } else { | ||
| 1101 | print("pswigb, style, missing style,\n"); | ||
| 1102 | } | ||
| 1103 | } | ||
| 1104 | |||
| 1105 | |||
| 1106 | =head2 sub ticwidth | ||
| 1107 | |||
| 1108 | |||
| 1109 | =cut | ||
| 1110 | |||
| 1111 | sub ticwidth { | ||
| 1112 | |||
| 1113 | my ( $self,$ticwidth ) = @_; | ||
| 1114 | if ( $ticwidth ne $empty_string ) { | ||
| 1115 | |||
| 1116 | $pswigb->{_ticwidth} = $ticwidth; | ||
| 1117 | $pswigb->{_note} = $pswigb->{_note}.' ticwidth='.$pswigb->{_ticwidth}; | ||
| 1118 | $pswigb->{_Step} = $pswigb->{_Step}.' ticwidth='.$pswigb->{_ticwidth}; | ||
| 1119 | |||
| 1120 | } else { | ||
| 1121 | print("pswigb, ticwidth, missing ticwidth,\n"); | ||
| 1122 | } | ||
| 1123 | } | ||
| 1124 | |||
| 1125 | |||
| 1126 | =head2 sub title | ||
| 1127 | |||
| 1128 | |||
| 1129 | =cut | ||
| 1130 | |||
| 1131 | sub title { | ||
| 1132 | |||
| 1133 | my ( $self,$title ) = @_; | ||
| 1134 | if ( $title ne $empty_string ) { | ||
| 1135 | |||
| 1136 | $pswigb->{_title} = $title; | ||
| 1137 | $pswigb->{_note} = $pswigb->{_note}.' title='.$pswigb->{_title}; | ||
| 1138 | $pswigb->{_Step} = $pswigb->{_Step}.' title='.$pswigb->{_title}; | ||
| 1139 | |||
| 1140 | } else { | ||
| 1141 | print("pswigb, title, missing title,\n"); | ||
| 1142 | } | ||
| 1143 | } | ||
| 1144 | |||
| 1145 | |||
| 1146 | =head2 sub titlecolor | ||
| 1147 | |||
| 1148 | |||
| 1149 | =cut | ||
| 1150 | |||
| 1151 | sub titlecolor { | ||
| 1152 | |||
| 1153 | my ( $self,$titlecolor ) = @_; | ||
| 1154 | if ( $titlecolor ne $empty_string ) { | ||
| 1155 | |||
| 1156 | $pswigb->{_titlecolor} = $titlecolor; | ||
| 1157 | $pswigb->{_note} = $pswigb->{_note}.' titlecolor='.$pswigb->{_titlecolor}; | ||
| 1158 | $pswigb->{_Step} = $pswigb->{_Step}.' titlecolor='.$pswigb->{_titlecolor}; | ||
| 1159 | |||
| 1160 | } else { | ||
| 1161 | print("pswigb, titlecolor, missing titlecolor,\n"); | ||
| 1162 | } | ||
| 1163 | } | ||
| 1164 | |||
| 1165 | |||
| 1166 | =head2 sub titlefont | ||
| 1167 | |||
| 1168 | |||
| 1169 | =cut | ||
| 1170 | |||
| 1171 | sub titlefont { | ||
| 1172 | |||
| 1173 | my ( $self,$titlefont ) = @_; | ||
| 1174 | if ( $titlefont ne $empty_string ) { | ||
| 1175 | |||
| 1176 | $pswigb->{_titlefont} = $titlefont; | ||
| 1177 | $pswigb->{_note} = $pswigb->{_note}.' titlefont='.$pswigb->{_titlefont}; | ||
| 1178 | $pswigb->{_Step} = $pswigb->{_Step}.' titlefont='.$pswigb->{_titlefont}; | ||
| 1179 | |||
| 1180 | } else { | ||
| 1181 | print("pswigb, titlefont, missing titlefont,\n"); | ||
| 1182 | } | ||
| 1183 | } | ||
| 1184 | |||
| 1185 | |||
| 1186 | =head2 sub titlesize | ||
| 1187 | |||
| 1188 | |||
| 1189 | =cut | ||
| 1190 | |||
| 1191 | sub titlesize { | ||
| 1192 | |||
| 1193 | my ( $self,$titlesize ) = @_; | ||
| 1194 | if ( $titlesize ne $empty_string ) { | ||
| 1195 | |||
| 1196 | $pswigb->{_titlesize} = $titlesize; | ||
| 1197 | $pswigb->{_note} = $pswigb->{_note}.' titlesize='.$pswigb->{_titlesize}; | ||
| 1198 | $pswigb->{_Step} = $pswigb->{_Step}.' titlesize='.$pswigb->{_titlesize}; | ||
| 1199 | |||
| 1200 | } else { | ||
| 1201 | print("pswigb, titlesize, missing titlesize,\n"); | ||
| 1202 | } | ||
| 1203 | } | ||
| 1204 | |||
| 1205 | |||
| 1206 | =head2 sub va | ||
| 1207 | |||
| 1208 | |||
| 1209 | =cut | ||
| 1210 | |||
| 1211 | sub va { | ||
| 1212 | |||
| 1213 | my ( $self,$va ) = @_; | ||
| 1214 | if ( $va ne $empty_string ) { | ||
| 1215 | |||
| 1216 | $pswigb->{_va} = $va; | ||
| 1217 | $pswigb->{_note} = $pswigb->{_note}.' va='.$pswigb->{_va}; | ||
| 1218 | $pswigb->{_Step} = $pswigb->{_Step}.' va='.$pswigb->{_va}; | ||
| 1219 | |||
| 1220 | } else { | ||
| 1221 | print("pswigb, va, missing va,\n"); | ||
| 1222 | } | ||
| 1223 | } | ||
| 1224 | |||
| 1225 | |||
| 1226 | =head2 sub verbose | ||
| 1227 | |||
| 1228 | |||
| 1229 | =cut | ||
| 1230 | |||
| 1231 | sub verbose { | ||
| 1232 | |||
| 1233 | my ( $self,$verbose ) = @_; | ||
| 1234 | if ( $verbose ne $empty_string ) { | ||
| 1235 | |||
| 1236 | $pswigb->{_verbose} = $verbose; | ||
| 1237 | $pswigb->{_note} = $pswigb->{_note}.' verbose='.$pswigb->{_verbose}; | ||
| 1238 | $pswigb->{_Step} = $pswigb->{_Step}.' verbose='.$pswigb->{_verbose}; | ||
| 1239 | |||
| 1240 | } else { | ||
| 1241 | print("pswigb, verbose, missing verbose,\n"); | ||
| 1242 | } | ||
| 1243 | } | ||
| 1244 | |||
| 1245 | |||
| 1246 | =head2 sub wbox | ||
| 1247 | |||
| 1248 | |||
| 1249 | =cut | ||
| 1250 | |||
| 1251 | sub wbox { | ||
| 1252 | |||
| 1253 | my ( $self,$wbox ) = @_; | ||
| 1254 | if ( $wbox ne $empty_string ) { | ||
| 1255 | |||
| 1256 | $pswigb->{_wbox} = $wbox; | ||
| 1257 | $pswigb->{_note} = $pswigb->{_note}.' wbox='.$pswigb->{_wbox}; | ||
| 1258 | $pswigb->{_Step} = $pswigb->{_Step}.' wbox='.$pswigb->{_wbox}; | ||
| 1259 | |||
| 1260 | } else { | ||
| 1261 | print("pswigb, wbox, missing wbox,\n"); | ||
| 1262 | } | ||
| 1263 | } | ||
| 1264 | |||
| 1265 | |||
| 1266 | =head2 sub wt | ||
| 1267 | |||
| 1268 | |||
| 1269 | =cut | ||
| 1270 | |||
| 1271 | sub wt { | ||
| 1272 | |||
| 1273 | my ( $self,$wt ) = @_; | ||
| 1274 | if ( $wt ne $empty_string ) { | ||
| 1275 | |||
| 1276 | $pswigb->{_wt} = $wt; | ||
| 1277 | $pswigb->{_note} = $pswigb->{_note}.' wt='.$pswigb->{_wt}; | ||
| 1278 | $pswigb->{_Step} = $pswigb->{_Step}.' wt='.$pswigb->{_wt}; | ||
| 1279 | |||
| 1280 | } else { | ||
| 1281 | print("pswigb, wt, missing wt,\n"); | ||
| 1282 | } | ||
| 1283 | } | ||
| 1284 | |||
| 1285 | |||
| 1286 | =head2 sub x1beg | ||
| 1287 | |||
| 1288 | |||
| 1289 | =cut | ||
| 1290 | |||
| 1291 | sub x1beg { | ||
| 1292 | |||
| 1293 | my ( $self,$x1beg ) = @_; | ||
| 1294 | if ( $x1beg ne $empty_string ) { | ||
| 1295 | |||
| 1296 | $pswigb->{_x1beg} = $x1beg; | ||
| 1297 | $pswigb->{_note} = $pswigb->{_note}.' x1beg='.$pswigb->{_x1beg}; | ||
| 1298 | $pswigb->{_Step} = $pswigb->{_Step}.' x1beg='.$pswigb->{_x1beg}; | ||
| 1299 | |||
| 1300 | } else { | ||
| 1301 | print("pswigb, x1beg, missing x1beg,\n"); | ||
| 1302 | } | ||
| 1303 | } | ||
| 1304 | |||
| 1305 | |||
| 1306 | =head2 sub x1end | ||
| 1307 | |||
| 1308 | |||
| 1309 | =cut | ||
| 1310 | |||
| 1311 | sub x1end { | ||
| 1312 | |||
| 1313 | my ( $self,$x1end ) = @_; | ||
| 1314 | if ( $x1end ne $empty_string ) { | ||
| 1315 | |||
| 1316 | $pswigb->{_x1end} = $x1end; | ||
| 1317 | $pswigb->{_note} = $pswigb->{_note}.' x1end='.$pswigb->{_x1end}; | ||
| 1318 | $pswigb->{_Step} = $pswigb->{_Step}.' x1end='.$pswigb->{_x1end}; | ||
| 1319 | |||
| 1320 | } else { | ||
| 1321 | print("pswigb, x1end, missing x1end,\n"); | ||
| 1322 | } | ||
| 1323 | } | ||
| 1324 | |||
| 1325 | |||
| 1326 | =head2 sub x2 | ||
| 1327 | |||
| 1328 | |||
| 1329 | =cut | ||
| 1330 | |||
| 1331 | sub x2 { | ||
| 1332 | |||
| 1333 | my ( $self,$x2 ) = @_; | ||
| 1334 | if ( $x2 ne $empty_string ) { | ||
| 1335 | |||
| 1336 | $pswigb->{_x2} = $x2; | ||
| 1337 | $pswigb->{_note} = $pswigb->{_note}.' x2='.$pswigb->{_x2}; | ||
| 1338 | $pswigb->{_Step} = $pswigb->{_Step}.' x2='.$pswigb->{_x2}; | ||
| 1339 | |||
| 1340 | } else { | ||
| 1341 | print("pswigb, x2, missing x2,\n"); | ||
| 1342 | } | ||
| 1343 | } | ||
| 1344 | |||
| 1345 | |||
| 1346 | =head2 sub x2beg | ||
| 1347 | |||
| 1348 | |||
| 1349 | =cut | ||
| 1350 | |||
| 1351 | sub x2beg { | ||
| 1352 | |||
| 1353 | my ( $self,$x2beg ) = @_; | ||
| 1354 | if ( $x2beg ne $empty_string ) { | ||
| 1355 | |||
| 1356 | $pswigb->{_x2beg} = $x2beg; | ||
| 1357 | $pswigb->{_note} = $pswigb->{_note}.' x2beg='.$pswigb->{_x2beg}; | ||
| 1358 | $pswigb->{_Step} = $pswigb->{_Step}.' x2beg='.$pswigb->{_x2beg}; | ||
| 1359 | |||
| 1360 | } else { | ||
| 1361 | print("pswigb, x2beg, missing x2beg,\n"); | ||
| 1362 | } | ||
| 1363 | } | ||
| 1364 | |||
| 1365 | |||
| 1366 | =head2 sub x2end | ||
| 1367 | |||
| 1368 | |||
| 1369 | =cut | ||
| 1370 | |||
| 1371 | sub x2end { | ||
| 1372 | |||
| 1373 | my ( $self,$x2end ) = @_; | ||
| 1374 | if ( $x2end ne $empty_string ) { | ||
| 1375 | |||
| 1376 | $pswigb->{_x2end} = $x2end; | ||
| 1377 | $pswigb->{_note} = $pswigb->{_note}.' x2end='.$pswigb->{_x2end}; | ||
| 1378 | $pswigb->{_Step} = $pswigb->{_Step}.' x2end='.$pswigb->{_x2end}; | ||
| 1379 | |||
| 1380 | } else { | ||
| 1381 | print("pswigb, x2end, missing x2end,\n"); | ||
| 1382 | } | ||
| 1383 | } | ||
| 1384 | |||
| 1385 | |||
| 1386 | =head2 sub xbox | ||
| 1387 | |||
| 1388 | |||
| 1389 | =cut | ||
| 1390 | |||
| 1391 | sub xbox { | ||
| 1392 | |||
| 1393 | my ( $self,$xbox ) = @_; | ||
| 1394 | if ( $xbox ne $empty_string ) { | ||
| 1395 | |||
| 1396 | $pswigb->{_xbox} = $xbox; | ||
| 1397 | $pswigb->{_note} = $pswigb->{_note}.' xbox='.$pswigb->{_xbox}; | ||
| 1398 | $pswigb->{_Step} = $pswigb->{_Step}.' xbox='.$pswigb->{_xbox}; | ||
| 1399 | |||
| 1400 | } else { | ||
| 1401 | print("pswigb, xbox, missing xbox,\n"); | ||
| 1402 | } | ||
| 1403 | } | ||
| 1404 | |||
| 1405 | |||
| 1406 | =head2 sub xcur | ||
| 1407 | |||
| 1408 | |||
| 1409 | =cut | ||
| 1410 | |||
| 1411 | sub xcur { | ||
| 1412 | |||
| 1413 | my ( $self,$xcur ) = @_; | ||
| 1414 | if ( $xcur ne $empty_string ) { | ||
| 1415 | |||
| 1416 | $pswigb->{_xcur} = $xcur; | ||
| 1417 | $pswigb->{_note} = $pswigb->{_note}.' xcur='.$pswigb->{_xcur}; | ||
| 1418 | $pswigb->{_Step} = $pswigb->{_Step}.' xcur='.$pswigb->{_xcur}; | ||
| 1419 | |||
| 1420 | } else { | ||
| 1421 | print("pswigb, xcur, missing xcur,\n"); | ||
| 1422 | } | ||
| 1423 | } | ||
| 1424 | |||
| 1425 | |||
| 1426 | =head2 sub ybox | ||
| 1427 | |||
| 1428 | |||
| 1429 | =cut | ||
| 1430 | |||
| 1431 | sub ybox { | ||
| 1432 | |||
| 1433 | my ( $self,$ybox ) = @_; | ||
| 1434 | if ( $ybox ne $empty_string ) { | ||
| 1435 | |||
| 1436 | $pswigb->{_ybox} = $ybox; | ||
| 1437 | $pswigb->{_note} = $pswigb->{_note}.' ybox='.$pswigb->{_ybox}; | ||
| 1438 | $pswigb->{_Step} = $pswigb->{_Step}.' ybox='.$pswigb->{_ybox}; | ||
| 1439 | |||
| 1440 | } else { | ||
| 1441 | print("pswigb, ybox, missing ybox,\n"); | ||
| 1442 | } | ||
| 1443 | } | ||
| 1444 | |||
| 1445 | |||
| 1446 | =head2 sub get_max_index | ||
| 1447 | |||
| 1448 | max index = number of input variables -1 | ||
| 1449 | |||
| 1450 | =cut | ||
| 1451 | |||
| 1452 | sub get_max_index { | ||
| 1453 | my ($self) = @_; | ||
| 1454 | my $max_index = 51; | ||
| 1455 | |||
| 1456 | return($max_index); | ||
| 1457 | } | ||
| 1458 | |||
| 1459 | |||
| 1460 | 1; |