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