NGEZLOGO(3NCARG)

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

πŸ’– NAME πŸ’–

NGEZLOGO β€” bestie, this one draws NCAR and UCAR logos for you, and by default it drops an NCAR logo at a totally reasonable size down in the lower right corner of your plot. iconic behavior fr fr πŸŽ€


✨ SYNOPSIS ✨

CALL NGEZLOGO()

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_ngezlogo()

🌸 USAGE 🌸

Okay so literally all you gotta do is call this subroutine and a logo appears. No cap. By default, one call to this subroutine draws an NCAR logo of reasonable size in the lower right corner of the plot. And here's the tea: for PostScript output you get the full-color logo, otherwise it's giving one-color logo. πŸ’…

If you want more control over the output, you can call the ngmisc parameter-setting routines NGSETI and NGSETR. Using those can reproduce the whole functionality of the subroutine NGLOGO, EXCEPT β€” and this is the important bit β€” the logo you asked for gets plotted to all active workstations, not just one specified workstation. periodt.

Here's the full list of control parameters and what they do, bestie, don't skip any:

  • 'LT' β€” use with NGSETI to set the logo type. For the full list of logo types, go read the docs for NGLOGO, or run "ncargex miex01" for an example plot that lists the logo types. Default is 1. 🎨
  • 'OS' β€” use with NGSETR to set the logo size in normalized device coordinates (so, a number between 0. and 1.). Like, a size spec of 0.1 gives you a logo one-tenth the maximum plot height. Default is 0.07. πŸ“
  • 'OX' β€” use with NGSETR to set the logo X-coordinate position in normalized device coordinates. Default is 0.93. ➑️
  • 'OY' β€” use with NGSETR to set the logo Y-coordinate position in normalized device coordinates. Default is 0.05. ⬆️
  • 'LC' β€” use with NGSETI to set the logo color (except when an NCAR logo is being plotted to a PostScript workstation, in which case you get the full-color logo anyway, no take-backs). Default is 1. 🌈
  • 'LB' β€” use with NGSETI to set the secondary logo color. Heads up: this one is applicable only for logo type 5, where that secondary color is used for the text string "UCAR". Default is 1. πŸ’œ

πŸ”₯ EXAMPLES πŸ”₯

CALL NGEZLOGO()

Plots an NCAR logo on all active workstations, lower right corner of the plot. If it's PostScript output you get a full-color logo, otherwise one-color. slay. ✨

Logo of type 2

CALL NGSETI('LT',2)
CALL NGEZLOGO()

Plots a UCAR logo (just the star ⭐) in the lower right corner of the plot.

More complete example

CALL NGSETI('LT',5)
CALL NGSETR('OX',0.5)
CALL NGSETR('OY',0.5)
CALL NGSETR('OS',0.1)
CALL NGSETI('LC',2)
CALL NGSETI('LB',3)
CALL NGEZLOGO()

Plots a logo of type 5 (the UCAR star with the text "UCAR") in the middle of the plot, sized one-tenth the maximum plot height, using color index 2 for the star and color index 3 for the text. main character energy, honestly. πŸ‘‘


🌈 ACCESS 🌈

To use NGEZLOGO or c_ngezlogo, you load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order, bestie, don't be chaotic about it. 🫢


πŸ’€ SEE ALSO πŸ’€

  • Online: nglogo, ngseti, ngsetr (3NCARG),
  • Hardcopy: NCAR Graphics Fundamentals, UNIX Version

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


okay that's the whole page, no notes πŸ’… this was the NGEZLOGO(3NCARG) entry from the NCAR Graphics manual, dated April 2002 on UNIX β€” go forth and plot your little logos, you ate that fr fr πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from