« lib/App/SeismicUnixGui/sunix/inversion/suinvco3d.pm
↑ Summary
lib/App/SeismicUnixGui/sunix/plot/xmovie.pm »
| 1 | package App::SeismicUnixGui::sunix::plot::pscubecontour; | ||
| 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 | PSCCONTOUR - PostScript Contour plot of a data CUBE | ||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | pscubecontour n1= | ||
| 29 | |||
| 30 | n2= | ||
| 31 | |||
| 32 | n3= [optional parameters] | ||
| 33 | |||
| 34 | <binaryfile >postscriptfile | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | or | ||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | pscubecontour n1= | ||
| 43 | |||
| 44 | n2= | ||
| 45 | |||
| 46 | n3= | ||
| 47 | |||
| 48 | front= | ||
| 49 | |||
| 50 | side= | ||
| 51 | |||
| 52 | top= [optional parameters] >postscriptfile | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | Data formats supported: | ||
| 57 | |||
| 58 | 1. Entire cube read from stdin (n1*n2*n3 floats) [default format] | ||
| 59 | |||
| 60 | 2. Faces read from stdin (n1*n2 floats for front, followed by n1*n3 | ||
| 61 | |||
| 62 | floats for side, and n2*n3 floats for top) [specify faces=1] | ||
| 63 | |||
| 64 | 3. Faces read from separate data files [specify filenames] | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | Required Parameters: | ||
| 69 | |||
| 70 | n1= number of samples in 1st (fastest) dimension | ||
| 71 | |||
| 72 | n2= number of samples in 2nd dimension | ||
| 73 | |||
| 74 | n3= number of samples in 3rd (slowest) dimension | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | Optional Parameters: | ||
| 79 | |||
| 80 | front= name of file containing front panel | ||
| 81 | |||
| 82 | side= name of file containing side panel | ||
| 83 | |||
| 84 | top= name of file containing top panel | ||
| 85 | |||
| 86 | faces=0 =1 to read faces from stdin (data format 2) | ||
| 87 | |||
| 88 | d1=1.0 sampling interval in 1st dimension | ||
| 89 | |||
| 90 | f1=0.0 first sample in 1st dimension | ||
| 91 | |||
| 92 | d2=1.0 sampling interval in 2nd dimension | ||
| 93 | |||
| 94 | f2=0.0 first sample in 2nd dimension | ||
| 95 | |||
| 96 | d3=1.0 sampling interval in 3rd dimension | ||
| 97 | |||
| 98 | f3=0.0 first sample in 3rd dimension | ||
| 99 | |||
| 100 | d1s=1.0 factor by which to scale d1 before imaging | ||
| 101 | |||
| 102 | d2s=1.0 factor by which to scale d2 before imaging | ||
| 103 | |||
| 104 | d3s=1.0 factor by which to scale d3 before imaging | ||
| 105 | |||
| 106 | nc=5 number of contour values | ||
| 107 | |||
| 108 | dc=(zmax-zmin)/nc contour interval | ||
| 109 | |||
| 110 | fc=min+dc first contour | ||
| 111 | |||
| 112 | c=fc,fc+dc,... array of contour values | ||
| 113 | |||
| 114 | cwidth=1.0,... array of contour line widths | ||
| 115 | |||
| 116 | cgray=0.0,... array of contour grays (0.0=black to 1.0=white) | ||
| 117 | |||
| 118 | ccolor=none,... array of contour colors; none means use cgray | ||
| 119 | |||
| 120 | cdash=0.0,... array of dash spacings (0.0 for solid) | ||
| 121 | |||
| 122 | labelcf=1 first labeled contour (1,2,3,...) | ||
| 123 | |||
| 124 | labelcper=1 label every labelcper-th contour | ||
| 125 | |||
| 126 | nlabelc=nc number of labeled contours (0 no contour label) | ||
| 127 | |||
| 128 | nplaces=6 number of decimal places in contour label | ||
| 129 | |||
| 130 | xbox=1.5 offset in inches of left side of axes box | ||
| 131 | |||
| 132 | ybox=1.5 offset in inches of bottom side of axes box | ||
| 133 | |||
| 134 | size1=4.0 size in inches of 1st axes (vertical) | ||
| 135 | |||
| 136 | size2=4.0 size in inches of 2nd axes (horizontal) | ||
| 137 | |||
| 138 | size3=3.0 size in inches of 3rd axes (projected) | ||
| 139 | |||
| 140 | angle=45 projection angle of cube in degrees (0<angle<90) | ||
| 141 | |||
| 142 | (angle between 2nd axis and projected 3rd axis) | ||
| 143 | |||
| 144 | x1end=x1max value at which axis 1 ends | ||
| 145 | |||
| 146 | d1num=0.0 numbered tic interval on axis 1 (0.0 for automatic) | ||
| 147 | |||
| 148 | f1num=x1min first numbered tic on axis 1 (used if d1num not 0.0) | ||
| 149 | |||
| 150 | n1tic=1 number of tics per numbered tic on axis 1 | ||
| 151 | |||
| 152 | grid1=none grid lines on axis 1 - none, dot, dash, or solid | ||
| 153 | |||
| 154 | label1= label on axis 1 | ||
| 155 | |||
| 156 | x2beg=x2min value at which axis 2 begins | ||
| 157 | |||
| 158 | d2num=0.0 numbered tic interval on axis 2 (0.0 for automatic) | ||
| 159 | |||
| 160 | f2num=x2min first numbered tic on axis 2 (used if d2num not 0.0) | ||
| 161 | |||
| 162 | n2tic=1 number of tics per numbered tic on axis 2 | ||
| 163 | |||
| 164 | grid2=none grid lines on axis 2 - none, dot, dash, or solid | ||
| 165 | |||
| 166 | label2= label on axis 2 | ||
| 167 | |||
| 168 | x3end=x3max value at which axis 3 ends | ||
| 169 | |||
| 170 | d3num=0.0 numbered tic interval on axis 3 (0.0 for automatic) | ||
| 171 | |||
| 172 | f3num=x3min first numbered tic on axis 3 (used if d3num not 0.0) | ||
| 173 | |||
| 174 | n3tic=1 number of tics per numbered tic on axis 3 | ||
| 175 | |||
| 176 | grid3=none grid lines on axis 3 - none, dot, dash, or solid | ||
| 177 | |||
| 178 | label3= label on axis 3 | ||
| 179 | |||
| 180 | labelfont=Helvetica font name for axes labels | ||
| 181 | |||
| 182 | labelsize=18 font size for axes labels | ||
| 183 | |||
| 184 | title= title of plot | ||
| 185 | |||
| 186 | titlefont=Helvetica-Bold font name for title | ||
| 187 | |||
| 188 | titlesize=24 font size for title | ||
| 189 | |||
| 190 | titlecolor=black color of title | ||
| 191 | |||
| 192 | labelcfont=Helvetica-Bold font name for contour labels | ||
| 193 | |||
| 194 | labelcsize=6 font size of contour labels | ||
| 195 | |||
| 196 | labelccolor=black color of contour labels | ||
| 197 | |||
| 198 | axescolor=black color of axes | ||
| 199 | |||
| 200 | gridcolor=black color of grid | ||
| 201 | |||
| 202 | |||
| 203 | |||
| 204 | All color specifications may also be made in X Window style Hex format | ||
| 205 | |||
| 206 | example: axescolor=#255 | ||
| 207 | |||
| 208 | |||
| 209 | |||
| 210 | Note: The values of x1beg=x1min, x2end=x2max and x3beg=x3min cannot | ||
| 211 | |||
| 212 | be changed. | ||
| 213 | |||
| 214 | |||
| 215 | |||
| 216 | Legal font names are: | ||
| 217 | |||
| 218 | AvantGarde-Book AvantGarde-BookOblique AvantGarde-Demi AvantGarde-DemiOblique" | ||
| 219 | |||
| 220 | Bookman-Demi Bookman-DemiItalic Bookman-Light Bookman-LightItalic | ||
| 221 | |||
| 222 | Courier Courier-Bold Courier-BoldOblique Courier-Oblique | ||
| 223 | |||
| 224 | Helvetica Helvetica-Bold Helvetica-BoldOblique Helvetica-Oblique | ||
| 225 | |||
| 226 | Helvetica-Narrow Helvetica-Narrow-Bold Helvetica-Narrow-BoldOblique | ||
| 227 | |||
| 228 | Helvetica-Narrow-Oblique NewCentrySchlbk-Bold" | ||
| 229 | |||
| 230 | NewCenturySchlbk-BoldItalic NewCenturySchlbk-Roman Palatino-Bold | ||
| 231 | |||
| 232 | Palatino-BoldItalic Palatino-Italics Palatino-Roman | ||
| 233 | |||
| 234 | SanSerif-Bold SanSerif-BoldItalic SanSerif-Roman | ||
| 235 | |||
| 236 | Symbol Times-Bold Times-BoldItalic | ||
| 237 | |||
| 238 | Times-Roman Times-Italic ZapfChancery-MediumItalic | ||
| 239 | |||
| 240 | |||
| 241 | |||
| 242 | |||
| 243 | |||
| 244 | |||
| 245 | |||
| 246 | (Original codes pscontour and pscube) | ||
| 247 | |||
| 248 | |||
| 249 | |||
| 250 | Author: Craig Artley, Colorado School of Mines, 03/12/93 | ||
| 251 | |||
| 252 | NOTE: Original written by Zhiming Li & Dave Hale, CSM, 07/01/90 | ||
| 253 | |||
| 254 | Completely rewritten, the code now bears more similarity to | ||
| 255 | |||
| 256 | psimage than the previous pscube. Faces of cube now rendered | ||
| 257 | |||
| 258 | as three separate images, rather than as a single image. The | ||
| 259 | |||
| 260 | output no longer suffers from stretching artifacts, and the | ||
| 261 | |||
| 262 | code is simpler. -Craig | ||
| 263 | |||
| 264 | MODIFIED: Craig Artley, Colorado School of Mines, 12/17/93 | ||
| 265 | |||
| 266 | Added color options. | ||
| 267 | |||
| 268 | |||
| 269 | |||
| 270 | PSCCONTOUR: mashed together from pscube and pscontour | ||
| 271 | |||
| 272 | to generate 3d contour plots by Claudia Vanelle, Institute of Geophysics, | ||
| 273 | |||
| 274 | University of Hamburg, Germany somewhen in 2000 | ||
| 275 | |||
| 276 | |||
| 277 | |||
| 278 | PSCUBE was "merged" with PSCONTOUR to create PSCUBECONTOUR | ||
| 279 | |||
| 280 | by Claudia Vanelle, Applied Geophysics Group Hamburg | ||
| 281 | |||
| 282 | somewhen in 2000 | ||
| 283 | |||
| 284 | |||
| 285 | |||
| 286 | =head2 User's notes (Juan Lorenzo) | ||
| 287 | untested | ||
| 288 | |||
| 289 | =cut | ||
| 290 | |||
| 291 | =head2 CHANGES and their DATES | ||
| 292 | |||
| 293 | =cut | ||
| 294 | |||
| 295 | use Moose; | ||
| 296 | our $VERSION = '0.0.1'; | ||
| 297 | |||
| 298 | =head2 Import packages | ||
| 299 | |||
| 300 | =cut | ||
| 301 | |||
| 302 | use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants'; | ||
| 303 | |||
| 304 | use App::SeismicUnixGui::misc::SeismicUnix | ||
| 305 | qw($in $out $on $go $to $suffix_ascii $off $suffix_su $suffix_bin); | ||
| 306 | use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config'; | ||
| 307 | |||
| 308 | =head2 instantiation of packages | ||
| 309 | |||
| 310 | =cut | ||
| 311 | |||
| 312 | my $get = L_SU_global_constants->new(); | ||
| 313 | my $Project = Project_config->new(); | ||
| 314 | my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU(); | ||
| 315 | my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN(); | ||
| 316 | my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT(); | ||
| 317 | |||
| 318 | my $var = $get->var(); | ||
| 319 | my $on = $var->{_on}; | ||
| 320 | my $off = $var->{_off}; | ||
| 321 | my $true = $var->{_true}; | ||
| 322 | my $false = $var->{_false}; | ||
| 323 | my $empty_string = $var->{_empty_string}; | ||
| 324 | |||
| 325 | =head2 Encapsulated | ||
| 326 | hash of private variables | ||
| 327 | |||
| 328 | =cut | ||
| 329 | |||
| 330 | my $pscubecontour = { | ||
| 331 | _angle => '', | ||
| 332 | _axescolor => '', | ||
| 333 | _c => '', | ||
| 334 | _ccolor => '', | ||
| 335 | _cdash => '', | ||
| 336 | _cgray => '', | ||
| 337 | _cwidth => '', | ||
| 338 | _d1 => '', | ||
| 339 | _d1num => '', | ||
| 340 | _d1s => '', | ||
| 341 | _d2 => '', | ||
| 342 | _d2num => '', | ||
| 343 | _d2s => '', | ||
| 344 | _d3 => '', | ||
| 345 | _d3num => '', | ||
| 346 | _d3s => '', | ||
| 347 | _dc => '', | ||
| 348 | _f1 => '', | ||
| 349 | _f1num => '', | ||
| 350 | _f2 => '', | ||
| 351 | _f2num => '', | ||
| 352 | _f3 => '', | ||
| 353 | _f3num => '', | ||
| 354 | _faces => '', | ||
| 355 | _fc => '', | ||
| 356 | _front => '', | ||
| 357 | _grid1 => '', | ||
| 358 | _grid2 => '', | ||
| 359 | _grid3 => '', | ||
| 360 | _gridcolor => '', | ||
| 361 | _label1 => '', | ||
| 362 | _label2 => '', | ||
| 363 | _label3 => '', | ||
| 364 | _labelccolor => '', | ||
| 365 | _labelcf => '', | ||
| 366 | _labelcfont => '', | ||
| 367 | _labelcper => '', | ||
| 368 | _labelcsize => '', | ||
| 369 | _labelfont => '', | ||
| 370 | _labelsize => '', | ||
| 371 | _n1 => '', | ||
| 372 | _n1tic => '', | ||
| 373 | _n2 => '', | ||
| 374 | _n2tic => '', | ||
| 375 | _n3 => '', | ||
| 376 | _n3tic => '', | ||
| 377 | _nc => '', | ||
| 378 | _nlabelc => '', | ||
| 379 | _nplaces => '', | ||
| 380 | _side => '', | ||
| 381 | _size1 => '', | ||
| 382 | _size2 => '', | ||
| 383 | _size3 => '', | ||
| 384 | _title => '', | ||
| 385 | _titlecolor => '', | ||
| 386 | _titlefont => '', | ||
| 387 | _titlesize => '', | ||
| 388 | _top => '', | ||
| 389 | _x1beg => '', | ||
| 390 | _x1end => '', | ||
| 391 | _x2beg => '', | ||
| 392 | _x3end => '', | ||
| 393 | _xbox => '', | ||
| 394 | _ybox => '', | ||
| 395 | _Step => '', | ||
| 396 | _note => '', | ||
| 397 | |||
| 398 | }; | ||
| 399 | |||
| 400 | =head2 sub Step | ||
| 401 | |||
| 402 | collects switches and assembles bash instructions | ||
| 403 | by adding the program name | ||
| 404 | |||
| 405 | =cut | ||
| 406 | |||
| 407 | sub Step { | ||
| 408 | |||
| 409 | $pscubecontour->{_Step} = 'pscubecontour' . $pscubecontour->{_Step}; | ||
| 410 | return ( $pscubecontour->{_Step} ); | ||
| 411 | |||
| 412 | } | ||
| 413 | |||
| 414 | =head2 sub note | ||
| 415 | |||
| 416 | collects switches and assembles bash instructions | ||
| 417 | by adding the program name | ||
| 418 | |||
| 419 | =cut | ||
| 420 | |||
| 421 | sub note { | ||
| 422 | |||
| 423 | $pscubecontour->{_note} = 'pscubecontour' . $pscubecontour->{_note}; | ||
| 424 | return ( $pscubecontour->{_note} ); | ||
| 425 | |||
| 426 | } | ||
| 427 | |||
| 428 | =head2 sub clear | ||
| 429 | |||
| 430 | =cut | ||
| 431 | |||
| 432 | sub clear { | ||
| 433 | |||
| 434 | $pscubecontour->{_angle} = ''; | ||
| 435 | $pscubecontour->{_axescolor} = ''; | ||
| 436 | $pscubecontour->{_c} = ''; | ||
| 437 | $pscubecontour->{_ccolor} = ''; | ||
| 438 | $pscubecontour->{_cdash} = ''; | ||
| 439 | $pscubecontour->{_cgray} = ''; | ||
| 440 | $pscubecontour->{_cwidth} = ''; | ||
| 441 | $pscubecontour->{_d1} = ''; | ||
| 442 | $pscubecontour->{_d1num} = ''; | ||
| 443 | $pscubecontour->{_d1s} = ''; | ||
| 444 | $pscubecontour->{_d2} = ''; | ||
| 445 | $pscubecontour->{_d2num} = ''; | ||
| 446 | $pscubecontour->{_d2s} = ''; | ||
| 447 | $pscubecontour->{_d3} = ''; | ||
| 448 | $pscubecontour->{_d3num} = ''; | ||
| 449 | $pscubecontour->{_d3s} = ''; | ||
| 450 | $pscubecontour->{_dc} = ''; | ||
| 451 | $pscubecontour->{_f1} = ''; | ||
| 452 | $pscubecontour->{_f1num} = ''; | ||
| 453 | $pscubecontour->{_f2} = ''; | ||
| 454 | $pscubecontour->{_f2num} = ''; | ||
| 455 | $pscubecontour->{_f3} = ''; | ||
| 456 | $pscubecontour->{_f3num} = ''; | ||
| 457 | $pscubecontour->{_faces} = ''; | ||
| 458 | $pscubecontour->{_fc} = ''; | ||
| 459 | $pscubecontour->{_front} = ''; | ||
| 460 | $pscubecontour->{_grid1} = ''; | ||
| 461 | $pscubecontour->{_grid2} = ''; | ||
| 462 | $pscubecontour->{_grid3} = ''; | ||
| 463 | $pscubecontour->{_gridcolor} = ''; | ||
| 464 | $pscubecontour->{_label1} = ''; | ||
| 465 | $pscubecontour->{_label2} = ''; | ||
| 466 | $pscubecontour->{_label3} = ''; | ||
| 467 | $pscubecontour->{_labelccolor} = ''; | ||
| 468 | $pscubecontour->{_labelcf} = ''; | ||
| 469 | $pscubecontour->{_labelcfont} = ''; | ||
| 470 | $pscubecontour->{_labelcper} = ''; | ||
| 471 | $pscubecontour->{_labelcsize} = ''; | ||
| 472 | $pscubecontour->{_labelfont} = ''; | ||
| 473 | $pscubecontour->{_labelsize} = ''; | ||
| 474 | $pscubecontour->{_n1} = ''; | ||
| 475 | $pscubecontour->{_n1tic} = ''; | ||
| 476 | $pscubecontour->{_n2} = ''; | ||
| 477 | $pscubecontour->{_n2tic} = ''; | ||
| 478 | $pscubecontour->{_n3} = ''; | ||
| 479 | $pscubecontour->{_n3tic} = ''; | ||
| 480 | $pscubecontour->{_nc} = ''; | ||
| 481 | $pscubecontour->{_nlabelc} = ''; | ||
| 482 | $pscubecontour->{_nplaces} = ''; | ||
| 483 | $pscubecontour->{_side} = ''; | ||
| 484 | $pscubecontour->{_size1} = ''; | ||
| 485 | $pscubecontour->{_size2} = ''; | ||
| 486 | $pscubecontour->{_size3} = ''; | ||
| 487 | $pscubecontour->{_title} = ''; | ||
| 488 | $pscubecontour->{_titlecolor} = ''; | ||
| 489 | $pscubecontour->{_titlefont} = ''; | ||
| 490 | $pscubecontour->{_titlesize} = ''; | ||
| 491 | $pscubecontour->{_top} = ''; | ||
| 492 | $pscubecontour->{_x1beg} = ''; | ||
| 493 | $pscubecontour->{_x1end} = ''; | ||
| 494 | $pscubecontour->{_x2beg} = ''; | ||
| 495 | $pscubecontour->{_x3end} = ''; | ||
| 496 | $pscubecontour->{_xbox} = ''; | ||
| 497 | $pscubecontour->{_ybox} = ''; | ||
| 498 | $pscubecontour->{_Step} = ''; | ||
| 499 | $pscubecontour->{_note} = ''; | ||
| 500 | } | ||
| 501 | |||
| 502 | =head2 sub angle | ||
| 503 | |||
| 504 | |||
| 505 | =cut | ||
| 506 | |||
| 507 | sub angle { | ||
| 508 | |||
| 509 | my ( $self, $angle ) = @_; | ||
| 510 | if ( $angle ne $empty_string ) { | ||
| 511 | |||
| 512 | $pscubecontour->{_angle} = $angle; | ||
| 513 | $pscubecontour->{_note} = | ||
| 514 | $pscubecontour->{_note} . ' angle=' . $pscubecontour->{_angle}; | ||
| 515 | $pscubecontour->{_Step} = | ||
| 516 | $pscubecontour->{_Step} . ' angle=' . $pscubecontour->{_angle}; | ||
| 517 | |||
| 518 | } | ||
| 519 | else { | ||
| 520 | print("pscubecontour, angle, missing angle,\n"); | ||
| 521 | } | ||
| 522 | } | ||
| 523 | |||
| 524 | =head2 sub axescolor | ||
| 525 | |||
| 526 | |||
| 527 | =cut | ||
| 528 | |||
| 529 | sub axescolor { | ||
| 530 | |||
| 531 | my ( $self, $axescolor ) = @_; | ||
| 532 | if ( $axescolor ne $empty_string ) { | ||
| 533 | |||
| 534 | $pscubecontour->{_axescolor} = $axescolor; | ||
| 535 | $pscubecontour->{_note} = | ||
| 536 | $pscubecontour->{_note} | ||
| 537 | . ' axescolor=' | ||
| 538 | . $pscubecontour->{_axescolor}; | ||
| 539 | $pscubecontour->{_Step} = | ||
| 540 | $pscubecontour->{_Step} | ||
| 541 | . ' axescolor=' | ||
| 542 | . $pscubecontour->{_axescolor}; | ||
| 543 | |||
| 544 | } | ||
| 545 | else { | ||
| 546 | print("pscubecontour, axescolor, missing axescolor,\n"); | ||
| 547 | } | ||
| 548 | } | ||
| 549 | |||
| 550 | =head2 sub c | ||
| 551 | |||
| 552 | |||
| 553 | =cut | ||
| 554 | |||
| 555 | sub c { | ||
| 556 | |||
| 557 | my ( $self, $c ) = @_; | ||
| 558 | if ( $c ne $empty_string ) { | ||
| 559 | |||
| 560 | $pscubecontour->{_c} = $c; | ||
| 561 | $pscubecontour->{_note} = | ||
| 562 | $pscubecontour->{_note} . ' c=' . $pscubecontour->{_c}; | ||
| 563 | $pscubecontour->{_Step} = | ||
| 564 | $pscubecontour->{_Step} . ' c=' . $pscubecontour->{_c}; | ||
| 565 | |||
| 566 | } | ||
| 567 | else { | ||
| 568 | print("pscubecontour, c, missing c,\n"); | ||
| 569 | } | ||
| 570 | } | ||
| 571 | |||
| 572 | =head2 sub ccolor | ||
| 573 | |||
| 574 | |||
| 575 | =cut | ||
| 576 | |||
| 577 | sub ccolor { | ||
| 578 | |||
| 579 | my ( $self, $ccolor ) = @_; | ||
| 580 | if ( $ccolor ne $empty_string ) { | ||
| 581 | |||
| 582 | $pscubecontour->{_ccolor} = $ccolor; | ||
| 583 | $pscubecontour->{_note} = | ||
| 584 | $pscubecontour->{_note} . ' ccolor=' . $pscubecontour->{_ccolor}; | ||
| 585 | $pscubecontour->{_Step} = | ||
| 586 | $pscubecontour->{_Step} . ' ccolor=' . $pscubecontour->{_ccolor}; | ||
| 587 | |||
| 588 | } | ||
| 589 | else { | ||
| 590 | print("pscubecontour, ccolor, missing ccolor,\n"); | ||
| 591 | } | ||
| 592 | } | ||
| 593 | |||
| 594 | =head2 sub cdash | ||
| 595 | |||
| 596 | |||
| 597 | =cut | ||
| 598 | |||
| 599 | sub cdash { | ||
| 600 | |||
| 601 | my ( $self, $cdash ) = @_; | ||
| 602 | if ( $cdash ne $empty_string ) { | ||
| 603 | |||
| 604 | $pscubecontour->{_cdash} = $cdash; | ||
| 605 | $pscubecontour->{_note} = | ||
| 606 | $pscubecontour->{_note} . ' cdash=' . $pscubecontour->{_cdash}; | ||
| 607 | $pscubecontour->{_Step} = | ||
| 608 | $pscubecontour->{_Step} . ' cdash=' . $pscubecontour->{_cdash}; | ||
| 609 | |||
| 610 | } | ||
| 611 | else { | ||
| 612 | print("pscubecontour, cdash, missing cdash,\n"); | ||
| 613 | } | ||
| 614 | } | ||
| 615 | |||
| 616 | =head2 sub cgray | ||
| 617 | |||
| 618 | |||
| 619 | =cut | ||
| 620 | |||
| 621 | sub cgray { | ||
| 622 | |||
| 623 | my ( $self, $cgray ) = @_; | ||
| 624 | if ( $cgray ne $empty_string ) { | ||
| 625 | |||
| 626 | $pscubecontour->{_cgray} = $cgray; | ||
| 627 | $pscubecontour->{_note} = | ||
| 628 | $pscubecontour->{_note} . ' cgray=' . $pscubecontour->{_cgray}; | ||
| 629 | $pscubecontour->{_Step} = | ||
| 630 | $pscubecontour->{_Step} . ' cgray=' . $pscubecontour->{_cgray}; | ||
| 631 | |||
| 632 | } | ||
| 633 | else { | ||
| 634 | print("pscubecontour, cgray, missing cgray,\n"); | ||
| 635 | } | ||
| 636 | } | ||
| 637 | |||
| 638 | =head2 sub cwidth | ||
| 639 | |||
| 640 | |||
| 641 | =cut | ||
| 642 | |||
| 643 | sub cwidth { | ||
| 644 | |||
| 645 | my ( $self, $cwidth ) = @_; | ||
| 646 | if ( $cwidth ne $empty_string ) { | ||
| 647 | |||
| 648 | $pscubecontour->{_cwidth} = $cwidth; | ||
| 649 | $pscubecontour->{_note} = | ||
| 650 | $pscubecontour->{_note} . ' cwidth=' . $pscubecontour->{_cwidth}; | ||
| 651 | $pscubecontour->{_Step} = | ||
| 652 | $pscubecontour->{_Step} . ' cwidth=' . $pscubecontour->{_cwidth}; | ||
| 653 | |||
| 654 | } | ||
| 655 | else { | ||
| 656 | print("pscubecontour, cwidth, missing cwidth,\n"); | ||
| 657 | } | ||
| 658 | } | ||
| 659 | |||
| 660 | =head2 sub d1 | ||
| 661 | |||
| 662 | |||
| 663 | =cut | ||
| 664 | |||
| 665 | sub d1 { | ||
| 666 | |||
| 667 | my ( $self, $d1 ) = @_; | ||
| 668 | if ( $d1 ne $empty_string ) { | ||
| 669 | |||
| 670 | $pscubecontour->{_d1} = $d1; | ||
| 671 | $pscubecontour->{_note} = | ||
| 672 | $pscubecontour->{_note} . ' d1=' . $pscubecontour->{_d1}; | ||
| 673 | $pscubecontour->{_Step} = | ||
| 674 | $pscubecontour->{_Step} . ' d1=' . $pscubecontour->{_d1}; | ||
| 675 | |||
| 676 | } | ||
| 677 | else { | ||
| 678 | print("pscubecontour, d1, missing d1,\n"); | ||
| 679 | } | ||
| 680 | } | ||
| 681 | |||
| 682 | =head2 sub d1num | ||
| 683 | |||
| 684 | |||
| 685 | =cut | ||
| 686 | |||
| 687 | sub d1num { | ||
| 688 | |||
| 689 | my ( $self, $d1num ) = @_; | ||
| 690 | if ( $d1num ne $empty_string ) { | ||
| 691 | |||
| 692 | $pscubecontour->{_d1num} = $d1num; | ||
| 693 | $pscubecontour->{_note} = | ||
| 694 | $pscubecontour->{_note} . ' d1num=' . $pscubecontour->{_d1num}; | ||
| 695 | $pscubecontour->{_Step} = | ||
| 696 | $pscubecontour->{_Step} . ' d1num=' . $pscubecontour->{_d1num}; | ||
| 697 | |||
| 698 | } | ||
| 699 | else { | ||
| 700 | print("pscubecontour, d1num, missing d1num,\n"); | ||
| 701 | } | ||
| 702 | } | ||
| 703 | |||
| 704 | =head2 sub d1s | ||
| 705 | |||
| 706 | |||
| 707 | =cut | ||
| 708 | |||
| 709 | sub d1s { | ||
| 710 | |||
| 711 | my ( $self, $d1s ) = @_; | ||
| 712 | if ( $d1s ne $empty_string ) { | ||
| 713 | |||
| 714 | $pscubecontour->{_d1s} = $d1s; | ||
| 715 | $pscubecontour->{_note} = | ||
| 716 | $pscubecontour->{_note} . ' d1s=' . $pscubecontour->{_d1s}; | ||
| 717 | $pscubecontour->{_Step} = | ||
| 718 | $pscubecontour->{_Step} . ' d1s=' . $pscubecontour->{_d1s}; | ||
| 719 | |||
| 720 | } | ||
| 721 | else { | ||
| 722 | print("pscubecontour, d1s, missing d1s,\n"); | ||
| 723 | } | ||
| 724 | } | ||
| 725 | |||
| 726 | =head2 sub d2 | ||
| 727 | |||
| 728 | |||
| 729 | =cut | ||
| 730 | |||
| 731 | sub d2 { | ||
| 732 | |||
| 733 | my ( $self, $d2 ) = @_; | ||
| 734 | if ( $d2 ne $empty_string ) { | ||
| 735 | |||
| 736 | $pscubecontour->{_d2} = $d2; | ||
| 737 | $pscubecontour->{_note} = | ||
| 738 | $pscubecontour->{_note} . ' d2=' . $pscubecontour->{_d2}; | ||
| 739 | $pscubecontour->{_Step} = | ||
| 740 | $pscubecontour->{_Step} . ' d2=' . $pscubecontour->{_d2}; | ||
| 741 | |||
| 742 | } | ||
| 743 | else { | ||
| 744 | print("pscubecontour, d2, missing d2,\n"); | ||
| 745 | } | ||
| 746 | } | ||
| 747 | |||
| 748 | =head2 sub d2num | ||
| 749 | |||
| 750 | |||
| 751 | =cut | ||
| 752 | |||
| 753 | sub d2num { | ||
| 754 | |||
| 755 | my ( $self, $d2num ) = @_; | ||
| 756 | if ( $d2num ne $empty_string ) { | ||
| 757 | |||
| 758 | $pscubecontour->{_d2num} = $d2num; | ||
| 759 | $pscubecontour->{_note} = | ||
| 760 | $pscubecontour->{_note} . ' d2num=' . $pscubecontour->{_d2num}; | ||
| 761 | $pscubecontour->{_Step} = | ||
| 762 | $pscubecontour->{_Step} . ' d2num=' . $pscubecontour->{_d2num}; | ||
| 763 | |||
| 764 | } | ||
| 765 | else { | ||
| 766 | print("pscubecontour, d2num, missing d2num,\n"); | ||
| 767 | } | ||
| 768 | } | ||
| 769 | |||
| 770 | =head2 sub d2s | ||
| 771 | |||
| 772 | |||
| 773 | =cut | ||
| 774 | |||
| 775 | sub d2s { | ||
| 776 | |||
| 777 | my ( $self, $d2s ) = @_; | ||
| 778 | if ( $d2s ne $empty_string ) { | ||
| 779 | |||
| 780 | $pscubecontour->{_d2s} = $d2s; | ||
| 781 | $pscubecontour->{_note} = | ||
| 782 | $pscubecontour->{_note} . ' d2s=' . $pscubecontour->{_d2s}; | ||
| 783 | $pscubecontour->{_Step} = | ||
| 784 | $pscubecontour->{_Step} . ' d2s=' . $pscubecontour->{_d2s}; | ||
| 785 | |||
| 786 | } | ||
| 787 | else { | ||
| 788 | print("pscubecontour, d2s, missing d2s,\n"); | ||
| 789 | } | ||
| 790 | } | ||
| 791 | |||
| 792 | =head2 sub d3 | ||
| 793 | |||
| 794 | |||
| 795 | =cut | ||
| 796 | |||
| 797 | sub d3 { | ||
| 798 | |||
| 799 | my ( $self, $d3 ) = @_; | ||
| 800 | if ( $d3 ne $empty_string ) { | ||
| 801 | |||
| 802 | $pscubecontour->{_d3} = $d3; | ||
| 803 | $pscubecontour->{_note} = | ||
| 804 | $pscubecontour->{_note} . ' d3=' . $pscubecontour->{_d3}; | ||
| 805 | $pscubecontour->{_Step} = | ||
| 806 | $pscubecontour->{_Step} . ' d3=' . $pscubecontour->{_d3}; | ||
| 807 | |||
| 808 | } | ||
| 809 | else { | ||
| 810 | print("pscubecontour, d3, missing d3,\n"); | ||
| 811 | } | ||
| 812 | } | ||
| 813 | |||
| 814 | =head2 sub d3num | ||
| 815 | |||
| 816 | |||
| 817 | =cut | ||
| 818 | |||
| 819 | sub d3num { | ||
| 820 | |||
| 821 | my ( $self, $d3num ) = @_; | ||
| 822 | if ( $d3num ne $empty_string ) { | ||
| 823 | |||
| 824 | $pscubecontour->{_d3num} = $d3num; | ||
| 825 | $pscubecontour->{_note} = | ||
| 826 | $pscubecontour->{_note} . ' d3num=' . $pscubecontour->{_d3num}; | ||
| 827 | $pscubecontour->{_Step} = | ||
| 828 | $pscubecontour->{_Step} . ' d3num=' . $pscubecontour->{_d3num}; | ||
| 829 | |||
| 830 | } | ||
| 831 | else { | ||
| 832 | print("pscubecontour, d3num, missing d3num,\n"); | ||
| 833 | } | ||
| 834 | } | ||
| 835 | |||
| 836 | =head2 sub d3s | ||
| 837 | |||
| 838 | |||
| 839 | =cut | ||
| 840 | |||
| 841 | sub d3s { | ||
| 842 | |||
| 843 | my ( $self, $d3s ) = @_; | ||
| 844 | if ( $d3s ne $empty_string ) { | ||
| 845 | |||
| 846 | $pscubecontour->{_d3s} = $d3s; | ||
| 847 | $pscubecontour->{_note} = | ||
| 848 | $pscubecontour->{_note} . ' d3s=' . $pscubecontour->{_d3s}; | ||
| 849 | $pscubecontour->{_Step} = | ||
| 850 | $pscubecontour->{_Step} . ' d3s=' . $pscubecontour->{_d3s}; | ||
| 851 | |||
| 852 | } | ||
| 853 | else { | ||
| 854 | print("pscubecontour, d3s, missing d3s,\n"); | ||
| 855 | } | ||
| 856 | } | ||
| 857 | |||
| 858 | =head2 sub dc | ||
| 859 | |||
| 860 | |||
| 861 | =cut | ||
| 862 | |||
| 863 | sub dc { | ||
| 864 | |||
| 865 | my ( $self, $dc ) = @_; | ||
| 866 | if ( $dc ne $empty_string ) { | ||
| 867 | |||
| 868 | $pscubecontour->{_dc} = $dc; | ||
| 869 | $pscubecontour->{_note} = | ||
| 870 | $pscubecontour->{_note} . ' dc=' . $pscubecontour->{_dc}; | ||
| 871 | $pscubecontour->{_Step} = | ||
| 872 | $pscubecontour->{_Step} . ' dc=' . $pscubecontour->{_dc}; | ||
| 873 | |||
| 874 | } | ||
| 875 | else { | ||
| 876 | print("pscubecontour, dc, missing dc,\n"); | ||
| 877 | } | ||
| 878 | } | ||
| 879 | |||
| 880 | =head2 sub f1 | ||
| 881 | |||
| 882 | |||
| 883 | =cut | ||
| 884 | |||
| 885 | sub f1 { | ||
| 886 | |||
| 887 | my ( $self, $f1 ) = @_; | ||
| 888 | if ( $f1 ne $empty_string ) { | ||
| 889 | |||
| 890 | $pscubecontour->{_f1} = $f1; | ||
| 891 | $pscubecontour->{_note} = | ||
| 892 | $pscubecontour->{_note} . ' f1=' . $pscubecontour->{_f1}; | ||
| 893 | $pscubecontour->{_Step} = | ||
| 894 | $pscubecontour->{_Step} . ' f1=' . $pscubecontour->{_f1}; | ||
| 895 | |||
| 896 | } | ||
| 897 | else { | ||
| 898 | print("pscubecontour, f1, missing f1,\n"); | ||
| 899 | } | ||
| 900 | } | ||
| 901 | |||
| 902 | =head2 sub f1num | ||
| 903 | |||
| 904 | |||
| 905 | =cut | ||
| 906 | |||
| 907 | sub f1num { | ||
| 908 | |||
| 909 | my ( $self, $f1num ) = @_; | ||
| 910 | if ( $f1num ne $empty_string ) { | ||
| 911 | |||
| 912 | $pscubecontour->{_f1num} = $f1num; | ||
| 913 | $pscubecontour->{_note} = | ||
| 914 | $pscubecontour->{_note} . ' f1num=' . $pscubecontour->{_f1num}; | ||
| 915 | $pscubecontour->{_Step} = | ||
| 916 | $pscubecontour->{_Step} . ' f1num=' . $pscubecontour->{_f1num}; | ||
| 917 | |||
| 918 | } | ||
| 919 | else { | ||
| 920 | print("pscubecontour, f1num, missing f1num,\n"); | ||
| 921 | } | ||
| 922 | } | ||
| 923 | |||
| 924 | =head2 sub f2 | ||
| 925 | |||
| 926 | |||
| 927 | =cut | ||
| 928 | |||
| 929 | sub f2 { | ||
| 930 | |||
| 931 | my ( $self, $f2 ) = @_; | ||
| 932 | if ( $f2 ne $empty_string ) { | ||
| 933 | |||
| 934 | $pscubecontour->{_f2} = $f2; | ||
| 935 | $pscubecontour->{_note} = | ||
| 936 | $pscubecontour->{_note} . ' f2=' . $pscubecontour->{_f2}; | ||
| 937 | $pscubecontour->{_Step} = | ||
| 938 | $pscubecontour->{_Step} . ' f2=' . $pscubecontour->{_f2}; | ||
| 939 | |||
| 940 | } | ||
| 941 | else { | ||
| 942 | print("pscubecontour, f2, missing f2,\n"); | ||
| 943 | } | ||
| 944 | } | ||
| 945 | |||
| 946 | =head2 sub f2num | ||
| 947 | |||
| 948 | |||
| 949 | =cut | ||
| 950 | |||
| 951 | sub f2num { | ||
| 952 | |||
| 953 | my ( $self, $f2num ) = @_; | ||
| 954 | if ( $f2num ne $empty_string ) { | ||
| 955 | |||
| 956 | $pscubecontour->{_f2num} = $f2num; | ||
| 957 | $pscubecontour->{_note} = | ||
| 958 | $pscubecontour->{_note} . ' f2num=' . $pscubecontour->{_f2num}; | ||
| 959 | $pscubecontour->{_Step} = | ||
| 960 | $pscubecontour->{_Step} . ' f2num=' . $pscubecontour->{_f2num}; | ||
| 961 | |||
| 962 | } | ||
| 963 | else { | ||
| 964 | print("pscubecontour, f2num, missing f2num,\n"); | ||
| 965 | } | ||
| 966 | } | ||
| 967 | |||
| 968 | =head2 sub f3 | ||
| 969 | |||
| 970 | |||
| 971 | =cut | ||
| 972 | |||
| 973 | sub f3 { | ||
| 974 | |||
| 975 | my ( $self, $f3 ) = @_; | ||
| 976 | if ( $f3 ne $empty_string ) { | ||
| 977 | |||
| 978 | $pscubecontour->{_f3} = $f3; | ||
| 979 | $pscubecontour->{_note} = | ||
| 980 | $pscubecontour->{_note} . ' f3=' . $pscubecontour->{_f3}; | ||
| 981 | $pscubecontour->{_Step} = | ||
| 982 | $pscubecontour->{_Step} . ' f3=' . $pscubecontour->{_f3}; | ||
| 983 | |||
| 984 | } | ||
| 985 | else { | ||
| 986 | print("pscubecontour, f3, missing f3,\n"); | ||
| 987 | } | ||
| 988 | } | ||
| 989 | |||
| 990 | =head2 sub f3num | ||
| 991 | |||
| 992 | |||
| 993 | =cut | ||
| 994 | |||
| 995 | sub f3num { | ||
| 996 | |||
| 997 | my ( $self, $f3num ) = @_; | ||
| 998 | if ( $f3num ne $empty_string ) { | ||
| 999 | |||
| 1000 | $pscubecontour->{_f3num} = $f3num; | ||
| 1001 | $pscubecontour->{_note} = | ||
| 1002 | $pscubecontour->{_note} . ' f3num=' . $pscubecontour->{_f3num}; | ||
| 1003 | $pscubecontour->{_Step} = | ||
| 1004 | $pscubecontour->{_Step} . ' f3num=' . $pscubecontour->{_f3num}; | ||
| 1005 | |||
| 1006 | } | ||
| 1007 | else { | ||
| 1008 | print("pscubecontour, f3num, missing f3num,\n"); | ||
| 1009 | } | ||
| 1010 | } | ||
| 1011 | |||
| 1012 | =head2 sub faces | ||
| 1013 | |||
| 1014 | |||
| 1015 | =cut | ||
| 1016 | |||
| 1017 | sub faces { | ||
| 1018 | |||
| 1019 | my ( $self, $faces ) = @_; | ||
| 1020 | if ( $faces ne $empty_string ) { | ||
| 1021 | |||
| 1022 | $pscubecontour->{_faces} = $faces; | ||
| 1023 | $pscubecontour->{_note} = | ||
| 1024 | $pscubecontour->{_note} . ' faces=' . $pscubecontour->{_faces}; | ||
| 1025 | $pscubecontour->{_Step} = | ||
| 1026 | $pscubecontour->{_Step} . ' faces=' . $pscubecontour->{_faces}; | ||
| 1027 | |||
| 1028 | } | ||
| 1029 | else { | ||
| 1030 | print("pscubecontour, faces, missing faces,\n"); | ||
| 1031 | } | ||
| 1032 | } | ||
| 1033 | |||
| 1034 | =head2 sub fc | ||
| 1035 | |||
| 1036 | |||
| 1037 | =cut | ||
| 1038 | |||
| 1039 | sub fc { | ||
| 1040 | |||
| 1041 | my ( $self, $fc ) = @_; | ||
| 1042 | if ( $fc ne $empty_string ) { | ||
| 1043 | |||
| 1044 | $pscubecontour->{_fc} = $fc; | ||
| 1045 | $pscubecontour->{_note} = | ||
| 1046 | $pscubecontour->{_note} . ' fc=' . $pscubecontour->{_fc}; | ||
| 1047 | $pscubecontour->{_Step} = | ||
| 1048 | $pscubecontour->{_Step} . ' fc=' . $pscubecontour->{_fc}; | ||
| 1049 | |||
| 1050 | } | ||
| 1051 | else { | ||
| 1052 | print("pscubecontour, fc, missing fc,\n"); | ||
| 1053 | } | ||
| 1054 | } | ||
| 1055 | |||
| 1056 | =head2 sub front | ||
| 1057 | |||
| 1058 | |||
| 1059 | =cut | ||
| 1060 | |||
| 1061 | sub front { | ||
| 1062 | |||
| 1063 | my ( $self, $front ) = @_; | ||
| 1064 | if ( $front ne $empty_string ) { | ||
| 1065 | |||
| 1066 | $pscubecontour->{_front} = $front; | ||
| 1067 | $pscubecontour->{_note} = | ||
| 1068 | $pscubecontour->{_note} . ' front=' . $pscubecontour->{_front}; | ||
| 1069 | $pscubecontour->{_Step} = | ||
| 1070 | $pscubecontour->{_Step} . ' front=' . $pscubecontour->{_front}; | ||
| 1071 | |||
| 1072 | } | ||
| 1073 | else { | ||
| 1074 | print("pscubecontour, front, missing front,\n"); | ||
| 1075 | } | ||
| 1076 | } | ||
| 1077 | |||
| 1078 | =head2 sub grid1 | ||
| 1079 | |||
| 1080 | |||
| 1081 | =cut | ||
| 1082 | |||
| 1083 | sub grid1 { | ||
| 1084 | |||
| 1085 | my ( $self, $grid1 ) = @_; | ||
| 1086 | if ( $grid1 ne $empty_string ) { | ||
| 1087 | |||
| 1088 | $pscubecontour->{_grid1} = $grid1; | ||
| 1089 | $pscubecontour->{_note} = | ||
| 1090 | $pscubecontour->{_note} . ' grid1=' . $pscubecontour->{_grid1}; | ||
| 1091 | $pscubecontour->{_Step} = | ||
| 1092 | $pscubecontour->{_Step} . ' grid1=' . $pscubecontour->{_grid1}; | ||
| 1093 | |||
| 1094 | } | ||
| 1095 | else { | ||
| 1096 | print("pscubecontour, grid1, missing grid1,\n"); | ||
| 1097 | } | ||
| 1098 | } | ||
| 1099 | |||
| 1100 | =head2 sub grid2 | ||
| 1101 | |||
| 1102 | |||
| 1103 | =cut | ||
| 1104 | |||
| 1105 | sub grid2 { | ||
| 1106 | |||
| 1107 | my ( $self, $grid2 ) = @_; | ||
| 1108 | if ( $grid2 ne $empty_string ) { | ||
| 1109 | |||
| 1110 | $pscubecontour->{_grid2} = $grid2; | ||
| 1111 | $pscubecontour->{_note} = | ||
| 1112 | $pscubecontour->{_note} . ' grid2=' . $pscubecontour->{_grid2}; | ||
| 1113 | $pscubecontour->{_Step} = | ||
| 1114 | $pscubecontour->{_Step} . ' grid2=' . $pscubecontour->{_grid2}; | ||
| 1115 | |||
| 1116 | } | ||
| 1117 | else { | ||
| 1118 | print("pscubecontour, grid2, missing grid2,\n"); | ||
| 1119 | } | ||
| 1120 | } | ||
| 1121 | |||
| 1122 | =head2 sub grid3 | ||
| 1123 | |||
| 1124 | |||
| 1125 | =cut | ||
| 1126 | |||
| 1127 | sub grid3 { | ||
| 1128 | |||
| 1129 | my ( $self, $grid3 ) = @_; | ||
| 1130 | if ( $grid3 ne $empty_string ) { | ||
| 1131 | |||
| 1132 | $pscubecontour->{_grid3} = $grid3; | ||
| 1133 | $pscubecontour->{_note} = | ||
| 1134 | $pscubecontour->{_note} . ' grid3=' . $pscubecontour->{_grid3}; | ||
| 1135 | $pscubecontour->{_Step} = | ||
| 1136 | $pscubecontour->{_Step} . ' grid3=' . $pscubecontour->{_grid3}; | ||
| 1137 | |||
| 1138 | } | ||
| 1139 | else { | ||
| 1140 | print("pscubecontour, grid3, missing grid3,\n"); | ||
| 1141 | } | ||
| 1142 | } | ||
| 1143 | |||
| 1144 | =head2 sub gridcolor | ||
| 1145 | |||
| 1146 | |||
| 1147 | =cut | ||
| 1148 | |||
| 1149 | sub gridcolor { | ||
| 1150 | |||
| 1151 | my ( $self, $gridcolor ) = @_; | ||
| 1152 | if ( $gridcolor ne $empty_string ) { | ||
| 1153 | |||
| 1154 | $pscubecontour->{_gridcolor} = $gridcolor; | ||
| 1155 | $pscubecontour->{_note} = | ||
| 1156 | $pscubecontour->{_note} | ||
| 1157 | . ' gridcolor=' | ||
| 1158 | . $pscubecontour->{_gridcolor}; | ||
| 1159 | $pscubecontour->{_Step} = | ||
| 1160 | $pscubecontour->{_Step} | ||
| 1161 | . ' gridcolor=' | ||
| 1162 | . $pscubecontour->{_gridcolor}; | ||
| 1163 | |||
| 1164 | } | ||
| 1165 | else { | ||
| 1166 | print("pscubecontour, gridcolor, missing gridcolor,\n"); | ||
| 1167 | } | ||
| 1168 | } | ||
| 1169 | |||
| 1170 | =head2 sub label1 | ||
| 1171 | |||
| 1172 | |||
| 1173 | =cut | ||
| 1174 | |||
| 1175 | sub label1 { | ||
| 1176 | |||
| 1177 | my ( $self, $label1 ) = @_; | ||
| 1178 | if ( $label1 ne $empty_string ) { | ||
| 1179 | |||
| 1180 | $pscubecontour->{_label1} = $label1; | ||
| 1181 | $pscubecontour->{_note} = | ||
| 1182 | $pscubecontour->{_note} . ' label1=' . $pscubecontour->{_label1}; | ||
| 1183 | $pscubecontour->{_Step} = | ||
| 1184 | $pscubecontour->{_Step} . ' label1=' . $pscubecontour->{_label1}; | ||
| 1185 | |||
| 1186 | } | ||
| 1187 | else { | ||
| 1188 | print("pscubecontour, label1, missing label1,\n"); | ||
| 1189 | } | ||
| 1190 | } | ||
| 1191 | |||
| 1192 | =head2 sub label2 | ||
| 1193 | |||
| 1194 | |||
| 1195 | =cut | ||
| 1196 | |||
| 1197 | sub label2 { | ||
| 1198 | |||
| 1199 | my ( $self, $label2 ) = @_; | ||
| 1200 | if ( $label2 ne $empty_string ) { | ||
| 1201 | |||
| 1202 | $pscubecontour->{_label2} = $label2; | ||
| 1203 | $pscubecontour->{_note} = | ||
| 1204 | $pscubecontour->{_note} . ' label2=' . $pscubecontour->{_label2}; | ||
| 1205 | $pscubecontour->{_Step} = | ||
| 1206 | $pscubecontour->{_Step} . ' label2=' . $pscubecontour->{_label2}; | ||
| 1207 | |||
| 1208 | } | ||
| 1209 | else { | ||
| 1210 | print("pscubecontour, label2, missing label2,\n"); | ||
| 1211 | } | ||
| 1212 | } | ||
| 1213 | |||
| 1214 | =head2 sub label3 | ||
| 1215 | |||
| 1216 | |||
| 1217 | =cut | ||
| 1218 | |||
| 1219 | sub label3 { | ||
| 1220 | |||
| 1221 | my ( $self, $label3 ) = @_; | ||
| 1222 | if ( $label3 ne $empty_string ) { | ||
| 1223 | |||
| 1224 | $pscubecontour->{_label3} = $label3; | ||
| 1225 | $pscubecontour->{_note} = | ||
| 1226 | $pscubecontour->{_note} . ' label3=' . $pscubecontour->{_label3}; | ||
| 1227 | $pscubecontour->{_Step} = | ||
| 1228 | $pscubecontour->{_Step} . ' label3=' . $pscubecontour->{_label3}; | ||
| 1229 | |||
| 1230 | } | ||
| 1231 | else { | ||
| 1232 | print("pscubecontour, label3, missing label3,\n"); | ||
| 1233 | } | ||
| 1234 | } | ||
| 1235 | |||
| 1236 | =head2 sub labelccolor | ||
| 1237 | |||
| 1238 | |||
| 1239 | =cut | ||
| 1240 | |||
| 1241 | sub labelccolor { | ||
| 1242 | |||
| 1243 | my ( $self, $labelccolor ) = @_; | ||
| 1244 | if ( $labelccolor ne $empty_string ) { | ||
| 1245 | |||
| 1246 | $pscubecontour->{_labelccolor} = $labelccolor; | ||
| 1247 | $pscubecontour->{_note} = | ||
| 1248 | $pscubecontour->{_note} | ||
| 1249 | . ' labelccolor=' | ||
| 1250 | . $pscubecontour->{_labelccolor}; | ||
| 1251 | $pscubecontour->{_Step} = | ||
| 1252 | $pscubecontour->{_Step} | ||
| 1253 | . ' labelccolor=' | ||
| 1254 | . $pscubecontour->{_labelccolor}; | ||
| 1255 | |||
| 1256 | } | ||
| 1257 | else { | ||
| 1258 | print("pscubecontour, labelccolor, missing labelccolor,\n"); | ||
| 1259 | } | ||
| 1260 | } | ||
| 1261 | |||
| 1262 | =head2 sub labelcf | ||
| 1263 | |||
| 1264 | |||
| 1265 | =cut | ||
| 1266 | |||
| 1267 | sub labelcf { | ||
| 1268 | |||
| 1269 | my ( $self, $labelcf ) = @_; | ||
| 1270 | if ( $labelcf ne $empty_string ) { | ||
| 1271 | |||
| 1272 | $pscubecontour->{_labelcf} = $labelcf; | ||
| 1273 | $pscubecontour->{_note} = | ||
| 1274 | $pscubecontour->{_note} . ' labelcf=' . $pscubecontour->{_labelcf}; | ||
| 1275 | $pscubecontour->{_Step} = | ||
| 1276 | $pscubecontour->{_Step} . ' labelcf=' . $pscubecontour->{_labelcf}; | ||
| 1277 | |||
| 1278 | } | ||
| 1279 | else { | ||
| 1280 | print("pscubecontour, labelcf, missing labelcf,\n"); | ||
| 1281 | } | ||
| 1282 | } | ||
| 1283 | |||
| 1284 | =head2 sub labelcfont | ||
| 1285 | |||
| 1286 | |||
| 1287 | =cut | ||
| 1288 | |||
| 1289 | sub labelcfont { | ||
| 1290 | |||
| 1291 | my ( $self, $labelcfont ) = @_; | ||
| 1292 | if ( $labelcfont ne $empty_string ) { | ||
| 1293 | |||
| 1294 | $pscubecontour->{_labelcfont} = $labelcfont; | ||
| 1295 | $pscubecontour->{_note} = | ||
| 1296 | $pscubecontour->{_note} | ||
| 1297 | . ' labelcfont=' | ||
| 1298 | . $pscubecontour->{_labelcfont}; | ||
| 1299 | $pscubecontour->{_Step} = | ||
| 1300 | $pscubecontour->{_Step} | ||
| 1301 | . ' labelcfont=' | ||
| 1302 | . $pscubecontour->{_labelcfont}; | ||
| 1303 | |||
| 1304 | } | ||
| 1305 | else { | ||
| 1306 | print("pscubecontour, labelcfont, missing labelcfont,\n"); | ||
| 1307 | } | ||
| 1308 | } | ||
| 1309 | |||
| 1310 | =head2 sub labelcper | ||
| 1311 | |||
| 1312 | |||
| 1313 | =cut | ||
| 1314 | |||
| 1315 | sub labelcper { | ||
| 1316 | |||
| 1317 | my ( $self, $labelcper ) = @_; | ||
| 1318 | if ( $labelcper ne $empty_string ) { | ||
| 1319 | |||
| 1320 | $pscubecontour->{_labelcper} = $labelcper; | ||
| 1321 | $pscubecontour->{_note} = | ||
| 1322 | $pscubecontour->{_note} | ||
| 1323 | . ' labelcper=' | ||
| 1324 | . $pscubecontour->{_labelcper}; | ||
| 1325 | $pscubecontour->{_Step} = | ||
| 1326 | $pscubecontour->{_Step} | ||
| 1327 | . ' labelcper=' | ||
| 1328 | . $pscubecontour->{_labelcper}; | ||
| 1329 | |||
| 1330 | } | ||
| 1331 | else { | ||
| 1332 | print("pscubecontour, labelcper, missing labelcper,\n"); | ||
| 1333 | } | ||
| 1334 | } | ||
| 1335 | |||
| 1336 | =head2 sub labelcsize | ||
| 1337 | |||
| 1338 | |||
| 1339 | =cut | ||
| 1340 | |||
| 1341 | sub labelcsize { | ||
| 1342 | |||
| 1343 | my ( $self, $labelcsize ) = @_; | ||
| 1344 | if ( $labelcsize ne $empty_string ) { | ||
| 1345 | |||
| 1346 | $pscubecontour->{_labelcsize} = $labelcsize; | ||
| 1347 | $pscubecontour->{_note} = | ||
| 1348 | $pscubecontour->{_note} | ||
| 1349 | . ' labelcsize=' | ||
| 1350 | . $pscubecontour->{_labelcsize}; | ||
| 1351 | $pscubecontour->{_Step} = | ||
| 1352 | $pscubecontour->{_Step} | ||
| 1353 | . ' labelcsize=' | ||
| 1354 | . $pscubecontour->{_labelcsize}; | ||
| 1355 | |||
| 1356 | } | ||
| 1357 | else { | ||
| 1358 | print("pscubecontour, labelcsize, missing labelcsize,\n"); | ||
| 1359 | } | ||
| 1360 | } | ||
| 1361 | |||
| 1362 | =head2 sub labelfont | ||
| 1363 | |||
| 1364 | |||
| 1365 | =cut | ||
| 1366 | |||
| 1367 | sub labelfont { | ||
| 1368 | |||
| 1369 | my ( $self, $labelfont ) = @_; | ||
| 1370 | if ( $labelfont ne $empty_string ) { | ||
| 1371 | |||
| 1372 | $pscubecontour->{_labelfont} = $labelfont; | ||
| 1373 | $pscubecontour->{_note} = | ||
| 1374 | $pscubecontour->{_note} | ||
| 1375 | . ' labelfont=' | ||
| 1376 | . $pscubecontour->{_labelfont}; | ||
| 1377 | $pscubecontour->{_Step} = | ||
| 1378 | $pscubecontour->{_Step} | ||
| 1379 | . ' labelfont=' | ||
| 1380 | . $pscubecontour->{_labelfont}; | ||
| 1381 | |||
| 1382 | } | ||
| 1383 | else { | ||
| 1384 | print("pscubecontour, labelfont, missing labelfont,\n"); | ||
| 1385 | } | ||
| 1386 | } | ||
| 1387 | |||
| 1388 | =head2 sub labelsize | ||
| 1389 | |||
| 1390 | |||
| 1391 | =cut | ||
| 1392 | |||
| 1393 | sub labelsize { | ||
| 1394 | |||
| 1395 | my ( $self, $labelsize ) = @_; | ||
| 1396 | if ( $labelsize ne $empty_string ) { | ||
| 1397 | |||
| 1398 | $pscubecontour->{_labelsize} = $labelsize; | ||
| 1399 | $pscubecontour->{_note} = | ||
| 1400 | $pscubecontour->{_note} | ||
| 1401 | . ' labelsize=' | ||
| 1402 | . $pscubecontour->{_labelsize}; | ||
| 1403 | $pscubecontour->{_Step} = | ||
| 1404 | $pscubecontour->{_Step} | ||
| 1405 | . ' labelsize=' | ||
| 1406 | . $pscubecontour->{_labelsize}; | ||
| 1407 | |||
| 1408 | } | ||
| 1409 | else { | ||
| 1410 | print("pscubecontour, labelsize, missing labelsize,\n"); | ||
| 1411 | } | ||
| 1412 | } | ||
| 1413 | |||
| 1414 | =head2 sub n1 | ||
| 1415 | |||
| 1416 | |||
| 1417 | =cut | ||
| 1418 | |||
| 1419 | sub n1 { | ||
| 1420 | |||
| 1421 | my ( $self, $n1 ) = @_; | ||
| 1422 | if ( $n1 ne $empty_string ) { | ||
| 1423 | |||
| 1424 | $pscubecontour->{_n1} = $n1; | ||
| 1425 | $pscubecontour->{_note} = | ||
| 1426 | $pscubecontour->{_note} . ' n1=' . $pscubecontour->{_n1}; | ||
| 1427 | $pscubecontour->{_Step} = | ||
| 1428 | $pscubecontour->{_Step} . ' n1=' . $pscubecontour->{_n1}; | ||
| 1429 | |||
| 1430 | } | ||
| 1431 | else { | ||
| 1432 | print("pscubecontour, n1, missing n1,\n"); | ||
| 1433 | } | ||
| 1434 | } | ||
| 1435 | |||
| 1436 | =head2 sub n1tic | ||
| 1437 | |||
| 1438 | |||
| 1439 | =cut | ||
| 1440 | |||
| 1441 | sub n1tic { | ||
| 1442 | |||
| 1443 | my ( $self, $n1tic ) = @_; | ||
| 1444 | if ( $n1tic ne $empty_string ) { | ||
| 1445 | |||
| 1446 | $pscubecontour->{_n1tic} = $n1tic; | ||
| 1447 | $pscubecontour->{_note} = | ||
| 1448 | $pscubecontour->{_note} . ' n1tic=' . $pscubecontour->{_n1tic}; | ||
| 1449 | $pscubecontour->{_Step} = | ||
| 1450 | $pscubecontour->{_Step} . ' n1tic=' . $pscubecontour->{_n1tic}; | ||
| 1451 | |||
| 1452 | } | ||
| 1453 | else { | ||
| 1454 | print("pscubecontour, n1tic, missing n1tic,\n"); | ||
| 1455 | } | ||
| 1456 | } | ||
| 1457 | |||
| 1458 | =head2 sub n2 | ||
| 1459 | |||
| 1460 | |||
| 1461 | =cut | ||
| 1462 | |||
| 1463 | sub n2 { | ||
| 1464 | |||
| 1465 | my ( $self, $n2 ) = @_; | ||
| 1466 | if ( $n2 ne $empty_string ) { | ||
| 1467 | |||
| 1468 | $pscubecontour->{_n2} = $n2; | ||
| 1469 | $pscubecontour->{_note} = | ||
| 1470 | $pscubecontour->{_note} . ' n2=' . $pscubecontour->{_n2}; | ||
| 1471 | $pscubecontour->{_Step} = | ||
| 1472 | $pscubecontour->{_Step} . ' n2=' . $pscubecontour->{_n2}; | ||
| 1473 | |||
| 1474 | } | ||
| 1475 | else { | ||
| 1476 | print("pscubecontour, n2, missing n2,\n"); | ||
| 1477 | } | ||
| 1478 | } | ||
| 1479 | |||
| 1480 | =head2 sub n2tic | ||
| 1481 | |||
| 1482 | |||
| 1483 | =cut | ||
| 1484 | |||
| 1485 | sub n2tic { | ||
| 1486 | |||
| 1487 | my ( $self, $n2tic ) = @_; | ||
| 1488 | if ( $n2tic ne $empty_string ) { | ||
| 1489 | |||
| 1490 | $pscubecontour->{_n2tic} = $n2tic; | ||
| 1491 | $pscubecontour->{_note} = | ||
| 1492 | $pscubecontour->{_note} . ' n2tic=' . $pscubecontour->{_n2tic}; | ||
| 1493 | $pscubecontour->{_Step} = | ||
| 1494 | $pscubecontour->{_Step} . ' n2tic=' . $pscubecontour->{_n2tic}; | ||
| 1495 | |||
| 1496 | } | ||
| 1497 | else { | ||
| 1498 | print("pscubecontour, n2tic, missing n2tic,\n"); | ||
| 1499 | } | ||
| 1500 | } | ||
| 1501 | |||
| 1502 | =head2 sub n3 | ||
| 1503 | |||
| 1504 | |||
| 1505 | =cut | ||
| 1506 | |||
| 1507 | sub n3 { | ||
| 1508 | |||
| 1509 | my ( $self, $n3 ) = @_; | ||
| 1510 | if ( $n3 ne $empty_string ) { | ||
| 1511 | |||
| 1512 | $pscubecontour->{_n3} = $n3; | ||
| 1513 | $pscubecontour->{_note} = | ||
| 1514 | $pscubecontour->{_note} . ' n3=' . $pscubecontour->{_n3}; | ||
| 1515 | $pscubecontour->{_Step} = | ||
| 1516 | $pscubecontour->{_Step} . ' n3=' . $pscubecontour->{_n3}; | ||
| 1517 | |||
| 1518 | } | ||
| 1519 | else { | ||
| 1520 | print("pscubecontour, n3, missing n3,\n"); | ||
| 1521 | } | ||
| 1522 | } | ||
| 1523 | |||
| 1524 | =head2 sub n3tic | ||
| 1525 | |||
| 1526 | |||
| 1527 | =cut | ||
| 1528 | |||
| 1529 | sub n3tic { | ||
| 1530 | |||
| 1531 | my ( $self, $n3tic ) = @_; | ||
| 1532 | if ( $n3tic ne $empty_string ) { | ||
| 1533 | |||
| 1534 | $pscubecontour->{_n3tic} = $n3tic; | ||
| 1535 | $pscubecontour->{_note} = | ||
| 1536 | $pscubecontour->{_note} . ' n3tic=' . $pscubecontour->{_n3tic}; | ||
| 1537 | $pscubecontour->{_Step} = | ||
| 1538 | $pscubecontour->{_Step} . ' n3tic=' . $pscubecontour->{_n3tic}; | ||
| 1539 | |||
| 1540 | } | ||
| 1541 | else { | ||
| 1542 | print("pscubecontour, n3tic, missing n3tic,\n"); | ||
| 1543 | } | ||
| 1544 | } | ||
| 1545 | |||
| 1546 | =head2 sub nc | ||
| 1547 | |||
| 1548 | |||
| 1549 | =cut | ||
| 1550 | |||
| 1551 | sub nc { | ||
| 1552 | |||
| 1553 | my ( $self, $nc ) = @_; | ||
| 1554 | if ( $nc ne $empty_string ) { | ||
| 1555 | |||
| 1556 | $pscubecontour->{_nc} = $nc; | ||
| 1557 | $pscubecontour->{_note} = | ||
| 1558 | $pscubecontour->{_note} . ' nc=' . $pscubecontour->{_nc}; | ||
| 1559 | $pscubecontour->{_Step} = | ||
| 1560 | $pscubecontour->{_Step} . ' nc=' . $pscubecontour->{_nc}; | ||
| 1561 | |||
| 1562 | } | ||
| 1563 | else { | ||
| 1564 | print("pscubecontour, nc, missing nc,\n"); | ||
| 1565 | } | ||
| 1566 | } | ||
| 1567 | |||
| 1568 | =head2 sub nlabelc | ||
| 1569 | |||
| 1570 | |||
| 1571 | =cut | ||
| 1572 | |||
| 1573 | sub nlabelc { | ||
| 1574 | |||
| 1575 | my ( $self, $nlabelc ) = @_; | ||
| 1576 | if ( $nlabelc ne $empty_string ) { | ||
| 1577 | |||
| 1578 | $pscubecontour->{_nlabelc} = $nlabelc; | ||
| 1579 | $pscubecontour->{_note} = | ||
| 1580 | $pscubecontour->{_note} . ' nlabelc=' . $pscubecontour->{_nlabelc}; | ||
| 1581 | $pscubecontour->{_Step} = | ||
| 1582 | $pscubecontour->{_Step} . ' nlabelc=' . $pscubecontour->{_nlabelc}; | ||
| 1583 | |||
| 1584 | } | ||
| 1585 | else { | ||
| 1586 | print("pscubecontour, nlabelc, missing nlabelc,\n"); | ||
| 1587 | } | ||
| 1588 | } | ||
| 1589 | |||
| 1590 | =head2 sub nplaces | ||
| 1591 | |||
| 1592 | |||
| 1593 | =cut | ||
| 1594 | |||
| 1595 | sub nplaces { | ||
| 1596 | |||
| 1597 | my ( $self, $nplaces ) = @_; | ||
| 1598 | if ( $nplaces ne $empty_string ) { | ||
| 1599 | |||
| 1600 | $pscubecontour->{_nplaces} = $nplaces; | ||
| 1601 | $pscubecontour->{_note} = | ||
| 1602 | $pscubecontour->{_note} . ' nplaces=' . $pscubecontour->{_nplaces}; | ||
| 1603 | $pscubecontour->{_Step} = | ||
| 1604 | $pscubecontour->{_Step} . ' nplaces=' . $pscubecontour->{_nplaces}; | ||
| 1605 | |||
| 1606 | } | ||
| 1607 | else { | ||
| 1608 | print("pscubecontour, nplaces, missing nplaces,\n"); | ||
| 1609 | } | ||
| 1610 | } | ||
| 1611 | |||
| 1612 | =head2 sub side | ||
| 1613 | |||
| 1614 | |||
| 1615 | =cut | ||
| 1616 | |||
| 1617 | sub side { | ||
| 1618 | |||
| 1619 | my ( $self, $side ) = @_; | ||
| 1620 | if ( $side ne $empty_string ) { | ||
| 1621 | |||
| 1622 | $pscubecontour->{_side} = $side; | ||
| 1623 | $pscubecontour->{_note} = | ||
| 1624 | $pscubecontour->{_note} . ' side=' . $pscubecontour->{_side}; | ||
| 1625 | $pscubecontour->{_Step} = | ||
| 1626 | $pscubecontour->{_Step} . ' side=' . $pscubecontour->{_side}; | ||
| 1627 | |||
| 1628 | } | ||
| 1629 | else { | ||
| 1630 | print("pscubecontour, side, missing side,\n"); | ||
| 1631 | } | ||
| 1632 | } | ||
| 1633 | |||
| 1634 | =head2 sub size1 | ||
| 1635 | |||
| 1636 | |||
| 1637 | =cut | ||
| 1638 | |||
| 1639 | sub size1 { | ||
| 1640 | |||
| 1641 | my ( $self, $size1 ) = @_; | ||
| 1642 | if ( $size1 ne $empty_string ) { | ||
| 1643 | |||
| 1644 | $pscubecontour->{_size1} = $size1; | ||
| 1645 | $pscubecontour->{_note} = | ||
| 1646 | $pscubecontour->{_note} . ' size1=' . $pscubecontour->{_size1}; | ||
| 1647 | $pscubecontour->{_Step} = | ||
| 1648 | $pscubecontour->{_Step} . ' size1=' . $pscubecontour->{_size1}; | ||
| 1649 | |||
| 1650 | } | ||
| 1651 | else { | ||
| 1652 | print("pscubecontour, size1, missing size1,\n"); | ||
| 1653 | } | ||
| 1654 | } | ||
| 1655 | |||
| 1656 | =head2 sub size2 | ||
| 1657 | |||
| 1658 | |||
| 1659 | =cut | ||
| 1660 | |||
| 1661 | sub size2 { | ||
| 1662 | |||
| 1663 | my ( $self, $size2 ) = @_; | ||
| 1664 | if ( $size2 ne $empty_string ) { | ||
| 1665 | |||
| 1666 | $pscubecontour->{_size2} = $size2; | ||
| 1667 | $pscubecontour->{_note} = | ||
| 1668 | $pscubecontour->{_note} . ' size2=' . $pscubecontour->{_size2}; | ||
| 1669 | $pscubecontour->{_Step} = | ||
| 1670 | $pscubecontour->{_Step} . ' size2=' . $pscubecontour->{_size2}; | ||
| 1671 | |||
| 1672 | } | ||
| 1673 | else { | ||
| 1674 | print("pscubecontour, size2, missing size2,\n"); | ||
| 1675 | } | ||
| 1676 | } | ||
| 1677 | |||
| 1678 | =head2 sub size3 | ||
| 1679 | |||
| 1680 | |||
| 1681 | =cut | ||
| 1682 | |||
| 1683 | sub size3 { | ||
| 1684 | |||
| 1685 | my ( $self, $size3 ) = @_; | ||
| 1686 | if ( $size3 ne $empty_string ) { | ||
| 1687 | |||
| 1688 | $pscubecontour->{_size3} = $size3; | ||
| 1689 | $pscubecontour->{_note} = | ||
| 1690 | $pscubecontour->{_note} . ' size3=' . $pscubecontour->{_size3}; | ||
| 1691 | $pscubecontour->{_Step} = | ||
| 1692 | $pscubecontour->{_Step} . ' size3=' . $pscubecontour->{_size3}; | ||
| 1693 | |||
| 1694 | } | ||
| 1695 | else { | ||
| 1696 | print("pscubecontour, size3, missing size3,\n"); | ||
| 1697 | } | ||
| 1698 | } | ||
| 1699 | |||
| 1700 | =head2 sub title | ||
| 1701 | |||
| 1702 | |||
| 1703 | =cut | ||
| 1704 | |||
| 1705 | sub title { | ||
| 1706 | |||
| 1707 | my ( $self, $title ) = @_; | ||
| 1708 | if ( $title ne $empty_string ) { | ||
| 1709 | |||
| 1710 | $pscubecontour->{_title} = $title; | ||
| 1711 | $pscubecontour->{_note} = | ||
| 1712 | $pscubecontour->{_note} . ' title=' . $pscubecontour->{_title}; | ||
| 1713 | $pscubecontour->{_Step} = | ||
| 1714 | $pscubecontour->{_Step} . ' title=' . $pscubecontour->{_title}; | ||
| 1715 | |||
| 1716 | } | ||
| 1717 | else { | ||
| 1718 | print("pscubecontour, title, missing title,\n"); | ||
| 1719 | } | ||
| 1720 | } | ||
| 1721 | |||
| 1722 | =head2 sub titlecolor | ||
| 1723 | |||
| 1724 | |||
| 1725 | =cut | ||
| 1726 | |||
| 1727 | sub titlecolor { | ||
| 1728 | |||
| 1729 | my ( $self, $titlecolor ) = @_; | ||
| 1730 | if ( $titlecolor ne $empty_string ) { | ||
| 1731 | |||
| 1732 | $pscubecontour->{_titlecolor} = $titlecolor; | ||
| 1733 | $pscubecontour->{_note} = | ||
| 1734 | $pscubecontour->{_note} | ||
| 1735 | . ' titlecolor=' | ||
| 1736 | . $pscubecontour->{_titlecolor}; | ||
| 1737 | $pscubecontour->{_Step} = | ||
| 1738 | $pscubecontour->{_Step} | ||
| 1739 | . ' titlecolor=' | ||
| 1740 | . $pscubecontour->{_titlecolor}; | ||
| 1741 | |||
| 1742 | } | ||
| 1743 | else { | ||
| 1744 | print("pscubecontour, titlecolor, missing titlecolor,\n"); | ||
| 1745 | } | ||
| 1746 | } | ||
| 1747 | |||
| 1748 | =head2 sub titlefont | ||
| 1749 | |||
| 1750 | |||
| 1751 | =cut | ||
| 1752 | |||
| 1753 | sub titlefont { | ||
| 1754 | |||
| 1755 | my ( $self, $titlefont ) = @_; | ||
| 1756 | if ( $titlefont ne $empty_string ) { | ||
| 1757 | |||
| 1758 | $pscubecontour->{_titlefont} = $titlefont; | ||
| 1759 | $pscubecontour->{_note} = | ||
| 1760 | $pscubecontour->{_note} | ||
| 1761 | . ' titlefont=' | ||
| 1762 | . $pscubecontour->{_titlefont}; | ||
| 1763 | $pscubecontour->{_Step} = | ||
| 1764 | $pscubecontour->{_Step} | ||
| 1765 | . ' titlefont=' | ||
| 1766 | . $pscubecontour->{_titlefont}; | ||
| 1767 | |||
| 1768 | } | ||
| 1769 | else { | ||
| 1770 | print("pscubecontour, titlefont, missing titlefont,\n"); | ||
| 1771 | } | ||
| 1772 | } | ||
| 1773 | |||
| 1774 | =head2 sub titlesize | ||
| 1775 | |||
| 1776 | |||
| 1777 | =cut | ||
| 1778 | |||
| 1779 | sub titlesize { | ||
| 1780 | |||
| 1781 | my ( $self, $titlesize ) = @_; | ||
| 1782 | if ( $titlesize ne $empty_string ) { | ||
| 1783 | |||
| 1784 | $pscubecontour->{_titlesize} = $titlesize; | ||
| 1785 | $pscubecontour->{_note} = | ||
| 1786 | $pscubecontour->{_note} | ||
| 1787 | . ' titlesize=' | ||
| 1788 | . $pscubecontour->{_titlesize}; | ||
| 1789 | $pscubecontour->{_Step} = | ||
| 1790 | $pscubecontour->{_Step} | ||
| 1791 | . ' titlesize=' | ||
| 1792 | . $pscubecontour->{_titlesize}; | ||
| 1793 | |||
| 1794 | } | ||
| 1795 | else { | ||
| 1796 | print("pscubecontour, titlesize, missing titlesize,\n"); | ||
| 1797 | } | ||
| 1798 | } | ||
| 1799 | |||
| 1800 | =head2 sub top | ||
| 1801 | |||
| 1802 | |||
| 1803 | =cut | ||
| 1804 | |||
| 1805 | sub top { | ||
| 1806 | |||
| 1807 | my ( $self, $top ) = @_; | ||
| 1808 | if ( $top ne $empty_string ) { | ||
| 1809 | |||
| 1810 | $pscubecontour->{_top} = $top; | ||
| 1811 | $pscubecontour->{_note} = | ||
| 1812 | $pscubecontour->{_note} . ' top=' . $pscubecontour->{_top}; | ||
| 1813 | $pscubecontour->{_Step} = | ||
| 1814 | $pscubecontour->{_Step} . ' top=' . $pscubecontour->{_top}; | ||
| 1815 | |||
| 1816 | } | ||
| 1817 | else { | ||
| 1818 | print("pscubecontour, top, missing top,\n"); | ||
| 1819 | } | ||
| 1820 | } | ||
| 1821 | |||
| 1822 | =head2 sub x1beg | ||
| 1823 | |||
| 1824 | |||
| 1825 | =cut | ||
| 1826 | |||
| 1827 | sub x1beg { | ||
| 1828 | |||
| 1829 | my ( $self, $x1beg ) = @_; | ||
| 1830 | if ( $x1beg ne $empty_string ) { | ||
| 1831 | |||
| 1832 | $pscubecontour->{_x1beg} = $x1beg; | ||
| 1833 | $pscubecontour->{_note} = | ||
| 1834 | $pscubecontour->{_note} . ' x1beg=' . $pscubecontour->{_x1beg}; | ||
| 1835 | $pscubecontour->{_Step} = | ||
| 1836 | $pscubecontour->{_Step} . ' x1beg=' . $pscubecontour->{_x1beg}; | ||
| 1837 | |||
| 1838 | } | ||
| 1839 | else { | ||
| 1840 | print("pscubecontour, x1beg, missing x1beg,\n"); | ||
| 1841 | } | ||
| 1842 | } | ||
| 1843 | |||
| 1844 | =head2 sub x1end | ||
| 1845 | |||
| 1846 | |||
| 1847 | =cut | ||
| 1848 | |||
| 1849 | sub x1end { | ||
| 1850 | |||
| 1851 | my ( $self, $x1end ) = @_; | ||
| 1852 | if ( $x1end ne $empty_string ) { | ||
| 1853 | |||
| 1854 | $pscubecontour->{_x1end} = $x1end; | ||
| 1855 | $pscubecontour->{_note} = | ||
| 1856 | $pscubecontour->{_note} . ' x1end=' . $pscubecontour->{_x1end}; | ||
| 1857 | $pscubecontour->{_Step} = | ||
| 1858 | $pscubecontour->{_Step} . ' x1end=' . $pscubecontour->{_x1end}; | ||
| 1859 | |||
| 1860 | } | ||
| 1861 | else { | ||
| 1862 | print("pscubecontour, x1end, missing x1end,\n"); | ||
| 1863 | } | ||
| 1864 | } | ||
| 1865 | |||
| 1866 | =head2 sub x2beg | ||
| 1867 | |||
| 1868 | |||
| 1869 | =cut | ||
| 1870 | |||
| 1871 | sub x2beg { | ||
| 1872 | |||
| 1873 | my ( $self, $x2beg ) = @_; | ||
| 1874 | if ( $x2beg ne $empty_string ) { | ||
| 1875 | |||
| 1876 | $pscubecontour->{_x2beg} = $x2beg; | ||
| 1877 | $pscubecontour->{_note} = | ||
| 1878 | $pscubecontour->{_note} . ' x2beg=' . $pscubecontour->{_x2beg}; | ||
| 1879 | $pscubecontour->{_Step} = | ||
| 1880 | $pscubecontour->{_Step} . ' x2beg=' . $pscubecontour->{_x2beg}; | ||
| 1881 | |||
| 1882 | } | ||
| 1883 | else { | ||
| 1884 | print("pscubecontour, x2beg, missing x2beg,\n"); | ||
| 1885 | } | ||
| 1886 | } | ||
| 1887 | |||
| 1888 | =head2 sub x3end | ||
| 1889 | |||
| 1890 | |||
| 1891 | =cut | ||
| 1892 | |||
| 1893 | sub x3end { | ||
| 1894 | |||
| 1895 | my ( $self, $x3end ) = @_; | ||
| 1896 | if ( $x3end ne $empty_string ) { | ||
| 1897 | |||
| 1898 | $pscubecontour->{_x3end} = $x3end; | ||
| 1899 | $pscubecontour->{_note} = | ||
| 1900 | $pscubecontour->{_note} . ' x3end=' . $pscubecontour->{_x3end}; | ||
| 1901 | $pscubecontour->{_Step} = | ||
| 1902 | $pscubecontour->{_Step} . ' x3end=' . $pscubecontour->{_x3end}; | ||
| 1903 | |||
| 1904 | } | ||
| 1905 | else { | ||
| 1906 | print("pscubecontour, x3end, missing x3end,\n"); | ||
| 1907 | } | ||
| 1908 | } | ||
| 1909 | |||
| 1910 | =head2 sub xbox | ||
| 1911 | |||
| 1912 | |||
| 1913 | =cut | ||
| 1914 | |||
| 1915 | sub xbox { | ||
| 1916 | |||
| 1917 | my ( $self, $xbox ) = @_; | ||
| 1918 | if ( $xbox ne $empty_string ) { | ||
| 1919 | |||
| 1920 | $pscubecontour->{_xbox} = $xbox; | ||
| 1921 | $pscubecontour->{_note} = | ||
| 1922 | $pscubecontour->{_note} . ' xbox=' . $pscubecontour->{_xbox}; | ||
| 1923 | $pscubecontour->{_Step} = | ||
| 1924 | $pscubecontour->{_Step} . ' xbox=' . $pscubecontour->{_xbox}; | ||
| 1925 | |||
| 1926 | } | ||
| 1927 | else { | ||
| 1928 | print("pscubecontour, xbox, missing xbox,\n"); | ||
| 1929 | } | ||
| 1930 | } | ||
| 1931 | |||
| 1932 | =head2 sub ybox | ||
| 1933 | |||
| 1934 | |||
| 1935 | =cut | ||
| 1936 | |||
| 1937 | sub ybox { | ||
| 1938 | |||
| 1939 | my ( $self, $ybox ) = @_; | ||
| 1940 | if ( $ybox ne $empty_string ) { | ||
| 1941 | |||
| 1942 | $pscubecontour->{_ybox} = $ybox; | ||
| 1943 | $pscubecontour->{_note} = | ||
| 1944 | $pscubecontour->{_note} . ' ybox=' . $pscubecontour->{_ybox}; | ||
| 1945 | $pscubecontour->{_Step} = | ||
| 1946 | $pscubecontour->{_Step} . ' ybox=' . $pscubecontour->{_ybox}; | ||
| 1947 | |||
| 1948 | } | ||
| 1949 | else { | ||
| 1950 | print("pscubecontour, ybox, missing ybox,\n"); | ||
| 1951 | } | ||
| 1952 | } | ||
| 1953 | |||
| 1954 | =head2 sub get_max_index | ||
| 1955 | |||
| 1956 | max index = number of input variables -1 | ||
| 1957 | |||
| 1958 | =cut | ||
| 1959 | |||
| 1960 | sub get_max_index { | ||
| 1961 | my ($self) = @_; | ||
| 1962 | my $max_index = 63; | ||
| 1963 | |||
| 1964 | return ($max_index); | ||
| 1965 | } | ||
| 1966 | |||
| 1967 | 1; |