CONOP4(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ CONOP4 ✨ (the NCAR Graphics girlies know)

okay so bestie, welcome to CONOP4 from the NCAR Graphics manual (section 3NCARG, for the record πŸ’…). This is the little subroutine that sets option switches and specifies various CHARACTER parameters for the Conran_family utility. It's giving backstage-pass energy: you're setting the vibes before the actual plot shows up. πŸŽ€


🌸 SYNOPSIS 🌸

CONOP4 (IOPT,CHARS,NUMC,IFMT)

πŸ’– DESCRIPTION πŸ’–

Here's the cast, and they ALL matter, no skips:

  • IOPT β€” Character, input. Selects an internal parameter and sets an option switch. Your options are literally:
    • 'DAS=ON', 'DAS=OFF', 'DAS=GTR', 'DAS=EQU', 'DAS=LSS', and 'DAS=ALL'
    • 'FMT=ON' or 'FMT=OFF'
    • 'TLE=ON' or 'TLE=OFF'

Now here's the tea: if the value of an IOPT option is 'OFF', then the next three arguments of the CONOP4 call β€” CHARS, NUMC, and IFMT β€” can be given any dummy value. Like, anything, bestie, it does not care. Option settings will be returned to their default values. 🫢

But if an option is anything other than 'OFF', then the CHARS, NUMC, and IFMT arguments can be used to override the default settings of that option. Main character energy, honestly.

  • CHARS β€” Character, input. A string of up to 64 characters. Yes, 64. Count them, queen. πŸ’…
  • NUMC β€” Integer, input. The number of characters in string CHARS.
  • IFMT β€” Integer, input. The maximum number of digits which can be printed by the output format loaded into CHARS when IOPT='FMT=ON'. Important: IFMT is not used with any other value of IOPT. It's a one-option-only kind of icon. 😭

πŸ¦‹ The Options, Defined πŸ¦‹

The following options are defined by this subroutine:

DAS ✨ the dashed-line one ✨

This parameter determines which contours are represented by dashed lines. The dashed line pattern is set in argument CHARS. Arguments NUMC and IFMT are not used here β€” they can assume any dummy value. Free them, honestly.

If IOPT='DAS=OFF', only solid lines are used. And that's the default, periodt.

All solid lines:

CALL CONOP4('DAS=OFF',' ',0,0)

To assign a specified line pattern to all contours:

CALL CONOP4('DAS=ALL',CHARS,0,0)

To assign a specified line pattern to selected contours:

Contour > DBP:  CALL CONOP4('DAS=GTR',CHARS,0,0)

Contour = DBP:  CALL CONOP4('DAS=EQU',CHARS,0,0)

Contour < DBP:  CALL CONOP4('DAS=LSS',CHARS,0,0)

The breakpoint for changing the line pattern, parameter DBP, is set by a call to entry CONOP3. DBP = 0. is the default. See parameter DBP in man conop3. πŸ‘‘

If DAS has a value other than OFF, CHARS is a dashed line pattern described by a ten character string with a dollar sign ($) for solid and a single quote (') for blank. And bestie, remember your FORTRAN 77 lore: in a quoted string, a single quote is represented by two single quotes (''). iykyk. πŸ’€

Example:

CALL CONOP4('DAS=GTR','$$$$$''$$$$',0,0)

FMT πŸŽ€ the format one πŸŽ€

A parameter which specifies a format for output of the data values.

If FMT=ON, the user must specify values for CHARS, NUMC, and IFMT. CHARS is an output print format. It has beginning and ending parenthesis as in (F8.2). NUMC is the number of characters in CHARS. It is 6 for (F8.2). IFMT is the maximum number of digits which can be printed by this format. It is 8 for an F8.2. Math is mathing. ✨

Example:

CHARS = '(F8.2)'
NUMC  = 6
IFMT = 8
CALL CONOP4('FMT=ON',CHARS,NUMC,IFMT)
⚠️ Warning, and I mean it: IFMT cannot be greater than 10; however, CONRAN will not test for a valid format. Thus, a format which results in IFMT > 10 will cause an undetected error. Not a vibe. Not slay. Please don't do this to yourself. 😭

If FMT=OFF, the default values are: CHARS='(G10.3)', NUMC=7, and IFMT=10, respectively.

To return to default settings use:

CALL CONOP4('FMT=OFF',' ',0,0)

TLE πŸ’– the title one πŸ’–

The parameter to place a title at the top of the plot. CHARS contains the title, NUMC is the number of characters in the title, and IFMT is not used.

Example:

CALL CONOP4('TLE=ON','VECTOR REVIEW',13,0)

🌈 USAGE 🌈

CONOP4 is called to set parameters of type CHARACTER before entries CONRAN, CONRAS, or CONRAQ are called to generate the contour plots. Order matters, bestie. Set the vibe first, then plot. πŸ¦‹


⭐ EXAMPLES ⭐

Use the ncargex command to see pertinent examples tconaq, tconas and tconan. Go look, they're right there. πŸ’…


πŸ’œ ACCESS πŸ’œ

To use CONOP4 load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. The order is not a suggestion, it's a lifestyle. πŸ‘‘


🌸 MESSAGES 🌸

See the conran_family man page for a description of all Conran_family error messages and/or informational messages. Everything lives there. πŸŽ€


🫢 SEE ALSO 🫢

  • Online: conran_family, conran_family_params, conran, conraq, conras, conop1, conop2, conop3, conpack, conpack_params
  • Hardcopy: NCAR Graphics Contouring and Mapping Tutorial; NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics

Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


and that's the whole page, bestie β€” CONOP4(3NCARG) from the UNIX manual, dated March 1993. Yes, 1993, and she's still serving. no cap. πŸ’–βœ¨

πŸ“¦ where this page comes from