illusion(3f) - [M_xyplot:banner] draw a banner page with short labels at the compass points (LICENSE:MIT)
Synopsis
Description
Options
Examples
subroutine illusion(top,bottom,left,right)
character(len=*),intent(in) :: top character(len=*),intent(in) :: bottom character(len=*),intent(in) :: left character(len=*),intent(in) :: right
Draw a simple geometric illusion with short labels at the four compass points as a banner page
TOP short top banner label BOTTOM short bottom banner label LEFT short left banner label RIGHT short right banner label
Sample program
program demo_illusion use M_draw, only : vinit, color, clear, backbuffer, getkey, vexit, page use M_xyplot, only : illusion implicit none integer :: idum call vinit(’ ’) call page(0.0,4800.0,0.0,4800.0) call color(6) call clear() call color(5) idum=backbuffer() call illusion(’TOP’,’BOTTOM’,’LEFT’,’RIGHT’) idum=getkey() call vexit() end program demo_illusion
Nemo Release 3.1 | illusion (3) | February 23, 2025 |
plot_axis(3f) - [M_xyplot] draw XY axis for XY plot routines (LICENSE:MIT)
Synopsis
Description
Examples
subroutine plot_axes()
This is a group of routines extracted from the PLT program and being converted to a generic XY axis routine. It currently has a ridiculous number of parameters set thru the common block.
Using plot_page(3f), plot_set_nice_range(3f), plot_axis(3f) and xy_line(3f) you can draw simple graphs quite easily. This will be expanded upon.
plot_set_plot_area(3f) can be used if you are laying out other graphics with the plot.
These routines will change.
1. xy_line destroys the data if a logarithmic plot is drawn 2. A generic "mode" routine will be made to set most of the values in common 3. detailed usage information will be written V.5.0.2 Error Correction --> DUAL AXIS failure was caused by a missing line in loop 10.
Nemo Release 3.1 | plot_axis (3) | February 23, 2025 |
plot_clear(3f) - [M_xyplot] clear graphics area and ensure in graphics mode (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_clear (3) | February 23, 2025 |
plot_drawplot(3f) - [M_xyplot] draw an xy plot (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_drawplot (3) | February 23, 2025 |
plot_get_plot_area(3f) - [M_xyplot] initialize plot page and set up common page-related values (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_get_plot_area (3) | February 23, 2025 |
plot_getdatarange(3f) - [M_xyplot] get plot window extremes, set plot window extremes for dual axis (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_getdatarange (3) | February 23, 2025 |
plot_hcopy(3f) - [M_xyplot] generate copy of the current plot for XY plot routines (LICENSE:MIT)
Synopsis
Description
This is the routine that generates a copy of the current plot by closing the current device and opening another, calling the same routine as the PLOT command, and then closing the new device and opening up one like you started from.
This works best when the current device is an interactive device such as X11 or tek; as exiting and reinitializing usually does not effect an interactive device much; but for file oriented devices the output file is restarted (as the current version of M_plot is written).
So, one limitation here is that if you running a batch job that is making PostScript output and you call the plot_hcopy command to generate a bitmap file, for example, your current PostScript output file is going to be restarted.
Consider making M_plot support concurrent open devices, or a special exit that is "temporary" and lets you resume output. Actually, I think Bernie’s last version does that?
Note that if the -obj option is used, instead of calling the equivalent of PLOT a special object is called. This could be used by a sophisticated user, but is used to copy what shows on screen from ID, SHOWFONT, ... commands too.
Nemo Release 3.1 | plot_hcopy (3) | February 23, 2025 |
plot_id(3f) - [M_xyplot] render the id(1) command for XY plots (LICENSE:MIT)
Synopsis
Description
Options
Examples
subroutine plot_id(icmdlen)
integer,intent(in) :: icmdlen
This routine implements the line style information set with the ID command. It is used to change the attributes of the pens used to draw the user data. Essentially everything that is used to identify a curve can be changed by this command. Line thickness, color, marker number, marker frequency, dash code ID, marker size, and curve fill style can be set. Also, text can be set to override the default legend label, and the legend entry can be turned off. A full description of the command can be found in the user manual.
If no parameters are given a chart showing curve styles is displayed and the current pen settings are written out.
Nemo Release 3.1 | plot_id (3) | February 23, 2025 |
plot_init(3f) - [M_xyplot] initialize command language and graphics mode to set up starting interpretation (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_init (3) | February 23, 2025 |
plot_init_globals(3f) - [M_xyplot] call xy_init_labels(3f) an xy_init_markers(3f) (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_init_globals (3) | February 23, 2025 |
plot_jupage(3f) - [M_xyplot] a good try at allowing mixing of PLT commands and M_plot commands (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_jupage (3) | February 23, 2025 |
plot_juparea(3f) - [M_xyplot] parse parea command (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_juparea (3) | February 23, 2025 |
plot_jut(3f) - [M_xyplot] allow user to place text on screen (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_jut (3) | February 23, 2025 |
plot_marks(3f) - [M_xyplot] draw examples of dash codes, pen styles and screen markers for XY plots (LICENSE:MIT)
Synopsis
Description
Examples
Draw examples of dash codes, pen styles, and screen markers for the dashes(1), id(1), and markers(1) commands as reserved M_plot object 12345 so they can not only be displayed, but copied by the hcopy(1) command if it is used before any other graphics-generating commands.
Sample program
program testmarks use M_draw ! testmarks(1f): draw examples of dash codes, pen styles, and screen markers call vinit(’’) call plot_marks(’setmark’) ! draw screen of current line markers idum=getkey() call plot_marks(’font’) ! draw screen of current font idum=getkey() call plot_marks(’id’) ! draw screen of current pen styles idum=getkey() call plot_marks(’dash’) ! draw screen of current dash codes idum=getkey() call plot_marks(’hue’) ! draw colors idum=getkey() call vexit() end program testmarks
Nemo Release 3.1 | plot_marks (3) | February 23, 2025 |
plot_page_aspect(3f) - [M_xyplot] Get aspect ratio from ASPECT command and call xy_aspct (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_page_aspect (3) | February 23, 2025 |
plot_set_plot_area(3f) - [M_xyplot] initialize plot page and set up common page-related values (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_set_plot_area (3) | February 23, 2025 |
plot_set_xmin(3f) - [M_xyplot] set value for xmin/xmax/ymin/... command (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_set_xmin (3) | February 23, 2025 |
plot_setdash(3f) - [M_xyplot] allow user to display|alter|retrieve dash codes by style number (LICENSE:MIT)
Synopsis
Description
Options
Examples
parms can be:
o null: display current patterns o fetch: retrieve a stored pattern o scale: resize and retrieve patterns for drawing grid lines Make pattern a nice size so it repeats in intervals that make nice intersections when used as a grid o reset: set back to default values o something else: store a pattern
Nemo Release 3.1 | plot_setdash (3) | February 23, 2025 |
plot_setfill(3f) - [M_xyplot] set background, middleground, and foreground colors for plot (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_setfill (3) | February 23, 2025 |
plot_setmark(3f) - [M_xyplot] set or display marker geometries (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_setmark (3) | February 23, 2025 |
plot_storage(3f) - [M_xyplot] if on a storage tube, clear the screen to unclutter it (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_storage (3) | February 23, 2025 |
plot_sz(3f) - [M_xyplot] change the size of the display surface (LICENSE:MIT)
Synopsis
Description
Examples
subroutine plot_sz()
This routine changes the device size on devices where this is supported. It is typically used with the X11 windows driver. The size and position are stored as local variables. They are changed by the sz_oo and sz_p strings queried from the command language dictionary.Most devices are left open and just a new aspect area is selected based on the ratio of the size parameters. The xy_noclose() function flags whether to actually change the display device or not. For devices like X11 and PC the device is actually closed and then restarted at the new size because the M_plot graphics library does not in general support changing the device size and position except when the device is initialized.
Nemo Release 3.1 | plot_sz (3) | February 23, 2025 |
plot_title(3f) - [M_xyplot] allow user to add extra title lines by number (LICENSE:MIT)
Synopsis
Description
Options
Examples
allow user to add extra title lines by number store them in unused part of language dictionary NOTE: assume they are stored sequentially when printing and stop printing when a blank title line is encountered
Nemo Release 3.1 | plot_title (3) | February 23, 2025 |
plot_toggle(3f) - [M_xyplot] special version of toggle(3f) to integrate calculator and language libraries (LICENSE:MIT)
Synopsis
Description
Options
Dependencies
Examples
See Also
References
Author
subroutine plot_toggle(verb,pars)
character, intent=(in) :: verb*(*) character, intent=(in) :: pars*(*)
For users of the Language library TOGGLE() is an example for the common problem of commands that have no parameters but are merely ’ON’ or ’OFF’. This routine helps you to easily create a command of the form:
command # toggle from current state to opposite state. command on # explicitly turn this command on command off # explicitly turn this command offplot_toggle() does the same thing as TOGGLE() except that now an additional command syntax is permitted:
command $MODEwhere $MODE is a valid Calculator string variable name or expression.
+ If value is explicitly on or off, set appropriate string. + if no value is specified, toggle on/off value.plot_toggle() is a copy of the TOGGLE() routine that uses xy_retrv2() instead of RETREV() so that the ’on’ and ’off’ keywords can be specified as Calculator string expressions instead of fixed strings.
After this routine is called the RETREV or FETCH procedures can be used to query the dictionary entry ’verb_oo’. It will either be the string "on" or the string "off".
VERB is the command verb name, from 1 to 20 characters. PARS is the remaining parameter part of the command.
o xy_retrv2 o parse o store o len_trim o jun
See the Programmer’s example for a simple code with a call to TOGGLE() in it. plot_toggle() is used in much the same way but with the Calculator library loaded.
see PARSE().
o NONE.
o John S. Urban
Nemo Release 3.1 | plot_toggle (3) | February 23, 2025 |
plot_z(3f) - [M_xyplot] Interactive ZOOM mode (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | plot_z (3) | February 23, 2025 |
plot_zmode(3f) - [M_xyplot] Interactive ZOOM mode (LICENSE:MIT)
Synopsis
Description
Options
Examples
The plot_zmode() procedure is used to allow you to use the keyboard to zoom in and around a plot.
Nemo Release 3.1 | plot_zmode (3) | February 23, 2025 |
xy_arrow(3f) - [M_xyplot] Add xy_arrow from T text box to specified point (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_arrow (3) | February 23, 2025 |
xy_aspct(3f) - [M_xyplot] Store plot window size in global variables and call plot_page() (LICENSE:MIT)
Synopsis
Description
Options
Examples
Store plot window size in global variables and call BIGGEST_ORTHO2() bug occurs if a window edge (at least xsmall) is zero in determining length of hardware characters.
Nemo Release 3.1 | xy_aspct (3) | February 23, 2025 |
xy_bans(3f) - [M_xyplot] draw banner lines from PLT ban command (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_bans (3) | February 23, 2025 |
xy_con_x(3f) - [M_xyplot] scale an axis value to the overall window/viewport (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_con_x (3) | February 23, 2025 |
xy_con_y(3f) - [M_xyplot] scale an axis value to the overall window/viewport (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_con_y (3) | February 23, 2025 |
xy_convert(3f) - [M_xyplot] do linear conversion for XY plot routines (LICENSE:MIT)
Synopsis
Description
Options
Examples
xy_convert(slope,intercept,x,n) # A linear conversion
real :: slope real :: intercept real :: x(*) integer :: n
used to do a fast conversion of an entire set of data instead of reparsing the text over and over with the math command. A linear conversion is very common for such operations as unit conversion.
Allows +-*/ operations on a dataset after operations have been performed. Does a conversion of the form y=mx+bwhere
the slope is m the y-intercept is bif the intercept is left off, it defaults to a value of 0.
Showing usage from ush(1):
math c[4] -o xy_convert(1,40) xy_convert(9/5,-40) # equivalent to but faster than # math (c[4]+40)*9/5-40 # xy_convert Centigrade to Fahrenheit
Nemo Release 3.1 | xy_convert (3) | February 23, 2025 |
xy_fxed(3f) - [M_xyplot] select whether a string is fixed-space or not (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_fxed (3) | February 23, 2025 |
xy_getdat(3f) - [M_xyplot] place data from specified file and curve into xy_arrayQ xy_array (LICENSE:MIT)
Synopsis
Description
Options
Examples
place data from specified file and curve into xy_arrayQ xy_array
given a file number (ifile) and curve number (iff) to extract, place data into xy_arrayq xy_array in common, and return min and max values; number of values; and the number of the time xy_array this data is calibrated to.
o header data is put into q variables in common
Nemo Release 3.1 | xy_getdat (3) | February 23, 2025 |
xy_getmark(3f) - [M_xyplot] get marker geometries (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_getmark (3) | February 23, 2025 |
xy_getrel(3f) - [M_xyplot] return values to convert one set of units to another (LICENSE:MIT)
Synopsis
Description
Options
Examples
return values to convert one set of units to another so that a table may be set up to automatically convert one set of units to another, the relate command allows a linear translation table to be set up.given an input unit, get the output unit, rmultiplier, and constant. since unit 0 is blank, assume not to convert if a 0 iunito is found.
Nemo Release 3.1 | xy_getrel (3) | February 23, 2025 |
xy_jufont(3f) - [M_xyplot] check and set font and store it so can query it (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_getxy_jufont (3) | February 23, 2025 |
xy_idbox(3f) - [M_xyplot] Draw ID legend box specified with LEGEND command (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_idbox (3) | February 23, 2025 |
xy_idbox0(3f) - [M_xyplot] draw legend lines (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_idbox0 (3) | February 23, 2025 |
xy_ifdrawn(3f) - [M_xyplot] xy_ifdrawn() is used to see if first page drawn or not (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_ifdrawn (3) | February 23, 2025 |
xy_iflou(3f) - [M_xyplot] set global flag for Leading Edge trimming (see LE command) (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_iflou (3) | February 23, 2025 |
xy_iftext(3f) - [M_xyplot] Add user-specified text strings to plot (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_iftext (3) | February 23, 2025 |
xy_init_default(3f) - [M_xyplot] initialize XY plot routines (LICENSE:MIT)
Synopsis
Description
This subroutine initializes or resets global values and the command dictionary. It is used at program startup and when the reset(1) command is used.
An xy_array of character strings containing the prototype for most commands is used as input to the parse routine. On the first call to xy_init_default this defines the command dictionary and sets the initial value for most of the dictionary. Each command name must be defined in order for the main program to distinguish between PLT commands and system commands. The main program tries to look up the command name in the dictionary to decide if it is a legitimate command.
In addition, the global logical LLQ() xy_array values are set to their defaults. This xy_array holds the switches used to control the many submodes of the program.
A large addition of global values (almost all of which end in the letter Q) are also set as necessary to ensure the program is reset to the proper initial modes.
A few environment UNIX variables are also read to establish the initial page length and banner strings and so on.
NOTE: Compaq/Digital Tru64 compiler warned about continued strings on lines not padded to column 72 with blanks so added line on end of continued lines; no longer required using free-format
Nemo Release 3.1 | xy_init_default (3) | February 23, 2025 |
xy_init_graphics(3f) - [M_xyplot] Initialize PLT graphics environment (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_init_graphics (3) | February 23, 2025 |
xy_init_labels(3f) - [M_xyplot] data defining all unit code labels (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_init_labels (3) | February 23, 2025 |
xy_init_markers(3f) - [M_xyplot] part of plot_axes(3f), used to define default geometric markers (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_init_markers (3) | February 23, 2025 |
xy_jucp(3f) - [M_xyplot] plot string line at current position (LICENSE:MIT)
Synopsis
Description
Options
Examples
For some packages and machines it is best to put the string into a scratch variable and put a null character at the endignores training blanks
uses current text justification modes
M_DRAW fonts use the x value for the bottom of the descender for letters like g, so move the character down about 22% to keep it level if change size so THE CURRENT Y-VALUE IS THE HEIGHT OF THE BASE OF LETTERS WITHOUT DESCENDERS need to make a lower level option in M_DASH for this
Nemo Release 3.1 | xy_jucp (3) | February 23, 2025 |
xy_jucp2(3f) - [M_xyplot] plot string line at current position (LICENSE:MIT)
Synopsis
Description
Options
Examples
For some packages and machines it is best to put the string into a scratch variable and put a null character at the endignores training blanks
uses current text justification modes
M_DRAW fonts use the x value for the bottom of the descender for letters like g, so move the character down about 22% to keep it level if change size so THE CURRENT Y-VALUE IS THE HEIGHT OF THE BASE OF LETTERS WITHOUT DESCENDERS need to make a lower level option in M_DASH for this
Nemo Release 3.1 | xy_jucp2 (3) | February 23, 2025 |
xy_jucurv(3f) - [M_xyplot] find extrema for group of curves and set legend label defaults (LICENSE:MIT)
Synopsis
Description
Options
Examples
find extrema for group of curves to be plotted and set legend label defaults if labels are blank set icrvsq and icrvs2q note that you have to "skip over" a 0 curve when assigning line attributes and legend labels
Nemo Release 3.1 | xy_jucurv (3) | February 23, 2025 |
xy_judraw(3f) - [M_xyplot] draw curves to plot scales using plot_ values (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_judraw (3) | February 23, 2025 |
xy_jufont(3f) - [M_xyplot] check and set font and store it so can query it (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_jufont (3) | February 23, 2025 |
xy_jugetwn(3f) - [M_xyplot] query current window ( appropriate for 2-d only) (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_jugetwn (3) | February 23, 2025 |
xy_jumapc(3f) - [M_xyplot] map colors using HUE command (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_jumapc (3) | February 23, 2025 |
xy_juprint(3f) - [M_xyplot] print string LINE at position x,y with embedded directives (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_juprint (3) | February 23, 2025 |
xy_juprints(3f) - [M_xyplot] simple print of string l at position x,y (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_juprints (3) | February 23, 2025 |
xy_juput(3f) - [M_xyplot] write current memory-resident curves in global variables(q) onto pseudo file (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_juput (3) | February 23, 2025 |
xy_jurang(3f) - [M_xyplot] return nice max and min values for the axis, and nice axis grid spacings (LICENSE:MIT)
Synopsis
Description
Options
Examples
adjust the scaling according to user limits if specifiedcaution: changes xlow,ylow,xhigh,yhigh
Nemo Release 3.1 | xy_jurang (3) | February 23, 2025 |
xy_jutitl(3f) - [M_xyplot] add title lines to plot (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_jutitl (3) | February 23, 2025 |
xy_jutitlX(3f) - [M_xyplot] draw plot titling information (titles and legend block) (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_jutitlx (3) | February 23, 2025 |
xy_laxis(3f) - [M_xyplot] draw linear axis and logarithmic axis for PLT (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_laxis (3) | February 23, 2025 |
xy_listout3(3f) - [M_xyplot] copy rcurve_in to rcurve_out expanding negative curve numbers to ranges (1 -10 means 1 thru 10) (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_listout3 (3) | February 23, 2025 |
xy_loadtl(3f) - [M_xyplot] load title xy_array (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_loadtl (3) | February 23, 2025 |
plot_noclose(3f) - [M_xyplot] flag whether to keep current device open while switching to alternate device (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_noclose (3) | February 23, 2025 |
xy_obj12345(3f) - [M_xyplot] create or close M_plot object 12345 (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_obj12345 (3) | February 23, 2025 |
xy_pause(3f) - [M_xyplot] conditionally pause until graphic or text-window response (LICENSE:MIT)
Synopsis
Description
Options
Options
Examples
would prefer to use errin but not all FORTRAN implementations support it; even in unix environments.if a null line is entered, set calculator value PAUSE to 1, else set PAUSE to 0. This can be handy for creating break points
The calculator variable $PAUSE is set to the character entered, except that characters less than ADE 32 are set to a blank.
constants:
ipausq=1 beep and pause until carriage return entered from standard input. ipausq=2 pause until carriage return entered from standard input. ipausq=0 ignore pause request ipausq=-1 pause until a character is entered from graphics input.
Nemo Release 3.1 | xy_pause (3) | February 23, 2025 |
xy_pickpnt(3f) - [M_xyplot] interactively draw a line to current left scale and store the curve or return point (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_pickpnt (3) | February 23, 2025 |
xy_printban(3f) - [M_xyplot] plot horizontal banner string at specified location (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_printban (3) | February 23, 2025 |
xy_printbanv(3f) - [M_xyplot] plot vertical banner string (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_printbanv (3) | February 23, 2025 |
xy_rasters(3f) - [M_xyplot] set line width (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_rasters (3) | February 23, 2025 |
xy_resetpens(3f) - [M_xyplot] reset pens (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_resetpens (3) | February 23, 2025 |
xy_retrv2(3f) - [M_xyplot] a special version of RETREV() that integrates the Calculator and Language library for XY plots (LICENSE:MIT)
Synopsis
Description
Options
Dependencies
See Also
References
Author
subroutine xy_retrv2(name,val,ilen,ier) character, intent=(in) :: name*(*) character, intent=(out) :: val*(*) integer, intent=(out) :: ilen integer, intent=(out) :: ier
o RETREV() is called to look up the value of the specified name in the dictionary. o If the returned value is a string expression(ie. it starts with a $ or " character) then evaluate the expression using the Calculator libray and return the expanded value. o If the calculator expansion of a string expression fails, the expression itself is returned as blank. o If the name does not appear in the dictionary a blank string is returned.
NAME is the entry name to look up. From 1 to 20 characters long. VAL is the returned value of the entry that was looked up. From 1 to 255 characters long. ILEN is the significant length of the string VAL. IER is zero(0) if no error occurred.
o expression o len_trim o retrev
see parse(3f), retrev(3f), fetch(3f), store(3f), plot_toggle(3f).
o John S. Urban
Nemo Release 3.1 | xy_retrv2 (3) | February 23, 2025 |
xy_set_bigger(3f) - [M_xyplot] change title line size (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_set_bigger (3) | February 23, 2025 |
xy_setcnv(3f) - [M_xyplot] set up conversion table for xy_con_x and xy_con_y functions (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_setcnv (3) | February 23, 2025 |
xy_setlbl(3f) - [M_xyplot] decide axis label strings (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_setlbl (3) | February 23, 2025 |
xy_setsize(3f) - [M_xyplot] use values to set size and border on output device (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_setsize (3) | February 23, 2025 |
xy_slide(3f) - [M_xyplot] slide value (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_slide (3) | February 23, 2025 |
xy_tidybox(3f) - [M_xyplot] draw legend lines inside box specified on call (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_tidybox (3) | February 23, 2025 |
xy_tidybox1(3f) - [M_xyplot] draw legend lines in box with legend box autosized and positioned by edge number (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_tidybox1 (3) | February 23, 2025 |
xy_tidybox2(3f) - [M_xyplot] draw legend lines inside box specified on call (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_tidybox2 (3) | February 23, 2025 |
xy_units(3f) - [M_xyplot] given unit code return string label optionally converted to uppercase (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_units (3) | February 23, 2025 |
xy_ustrlen(3f) - [M_xyplot] get software string length including trailing whitespace (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_ustrlen (3) | February 23, 2025 |
xy_ustrlen2(3f) - [M_xyplot] get software string length up to specified character (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_ustrlen2 (3) | February 23, 2025 |
xy_zoom(3f) - [M_xyplot] given current four numbers defining a box; alter them by indicated selections of an old and new box (LICENSE:MIT)
Synopsis
Description
Options
Examples
Nemo Release 3.1 | xy_zoom (3) | February 23, 2025 |
cn(1f) - [M_xyplot] Draw a basic contour plot (LICENSE:PD)
Synopsis
Description
Options
Example
Author
License
cn [ -f] FILE -xlabel STR -ylabel STR -d DEVICE -fn FILENAME
Create a basic contour plot from a simple ASCII table of numeric values. The file is assumed to be of the form x,y,z. The data is not required to be on a grid.
-d M_draw(3fm) device name (X11,pdf,svg, ...). Enter the device name "list" for a list of available devices on an otherwise valid command. -f filename of format "X Y Z" -fn FNAME For file output, the default output name is cn.$DEVICE. If a name is specified containing a period it is used as-is. Otherwise the output file will be FNAME.$DEVICE -xlabel X-axis label. Default is "X" -ylabel Y-axis label. Default is "Y" -title plot title. Defaults to input filename -verbose display plot information to stdout -help display help text to stdout and exit -version display version to stdout and exit
Create a simple file with X,Y,Z values and draw plot
program demo_cn use M_ContourPlot, only : contourlines implicit none integer,parameter :: NPTS=121 integer :: errCode integer,parameter :: DBG=2 integer :: i,j,k real,dimension(NPTS) :: x,y,z character(len=:),allocatable :: cmd ! k=0 do j=0,10 do i=0,10 k=k+1 x(k)=0.1*real(i) y(k)=0.1*real(j) end do end do ! z=(x-0.5)**2 + (y-0.5)**2 z(:)=16.0*z(:) ! write out the input values for plotting open(unit=dbg, file=’test.dat’, status=’replace’, & iostat=errCode, action=’write’, position=’rewind’) !!write(DBG,’(I4,3F12.6)’) (k,x(k),y(k),z(k),k=1,npts) write(DBG,’(3F12.6)’) (x(k),y(k),z(k),k=1,npts) flush(unit=dbg) ! call plotting program cmd=’cn test.dat -xlabel X-axis -ylabel Y-axis & & -levels 0.1 0.2 0.5 1.0 2.0 4.0 6.0 8.0 ’ call execute_command_line(cmd) call execute_command_line(cmd//’ -d pdf’) call execute_command_line(cmd//’ -d svg’) ! close(DBG,status=’delete’) end program demo_cn
John S. Urban
Public Domain
Nemo Release 3.1 | cn (1) | February 23, 2025 |
xy(1f) - [M_xyplot] Draw a basic XY plot (LICENSE:PD)
Synopsis
Description
Options
Example
Author
License
xy [ -f] FILE -xlabel STR -ylabel STR -d DEVICE -m NNNN -fn FILENAME -sz MARKER_SIZE
Create a basic XY plot from a simple ASCII table of numeric values. The first column is assumed to be the shared X values for the other columns.A plot of all Y columns is followed by a plot of each Y column by default.
If an interactive device is selected (X11, x11, xtek, tek, PC) then a pause occurs after each plot. Single character commands are
o q quit o n next o p previous o v toggle verbose mode o 0 redisplay plot of all curves
-d M_draw(3fm) device name (X11,pdf,svg, ...). Enter the device name "list" for a list of available devices on an otherwise valid command. -f filename of format "X Y1 Y2 Y3 ..." -fn FNAME For file output, the default output name is xy.$DEVICE. If a name is specified containing a period it is used as-is. Otherwise the output file will be FNAME.$DEVICE -xlabel X-axis label. Default is "X" -ylabel Y-axis label. Default is "Y" -title plot title. Defaults to input filename -m NNN marker frequency. Place a marker at every nth point. The default is zero. Negative values suppress drawing the interconnecting lines. -sz marker size as a percent of display width. Default is 2.0 . -verbose display plot information to stdout -help display help text to stdout and exit -version display version to stdout and exit
Create a simple file with X and Y values and draw plot
program demo_xy integer :: i10 real :: x, y ! set up the data file open(unit=10,file=’xy.dat’) do i10=1,200 x=i10*0.50 y=x*sin(x)*100.0+400.0 write(10,*)x,y,y+40.0,cos(y)*120.0+380.0 enddo flush(10) call execute_command_line(’xy xy.dat -xlabel X-axis -ylabel Y-axis’) call execute_command_line(’xy xy.dat -xlabel X-axis -ylabel Y-axis -d pdf’) call execute_command_line(’xy xy.dat -xlabel X-axis -ylabel Y-axis -d svg’) close(10,status=’delete’) end program demo_xy
John S. Urban
Public Domain
Nemo Release 3.1 | xy (1) | February 23, 2025 |