foresight_figure
foresight_figure, a figure: page, font and a grid of plot panels, driven by a gnuplot-like API.
Every method mirrors a gnuplot command (plot, set title, set xrange, set logscale, set multiplot, ...) so that the command line interpreter maps one-to-one onto this API. Settings and plots apply to the current panel; a figure has one panel unless set_multiplot lays out a grid, filled panel by panel with next_panel.
type(figure_object) :: fig
real(R8P) :: x(3), y(3)
x = [1.0_R8P, 2.0_R8P, 3.0_R8P]
y = x**2
call fig%set_title('parabola')
call fig%plot(x, y, title='x^2', with='linespoints')
call fig%save('parabola.svg')Source: src/lib/foresight_figure.F90
Dependencies
Contents
- figure_object
- clear
- rgbimage
- image
- init
- next_panel
- plot
- save
- set_cblabel
- set_cbrange
- set_colorbox
- set_palette
- set_colorsequence
- set_palette_gradient
- set_angles
- set_border
- set_border_style
- set_zeroaxis
- set_boxwidth
- set_style_fill
- set_style_histogram
- new_histogram
- set_style_boxplot
- set_format
- set_time_axes
- set_timefmt
- add_label
- add_arrow
- add_object
- add_pixmap
- unset_pixmap
- unset_label
- unset_arrow
- unset_object
- set_label
- set_arrow
- set_object
- set_paxis
- set_spiderplot
- set_style_spiderplot
- set_grid
- set_key
- set_logscale
- set_multiplot
- set_origin
- own_box
- set_text
- set_polar
- set_raxis
- set_readout
- set_refresh
- set_rrange
- set_rtics
- set_size
- set_theme
- set_theta
- set_key_style
- set_enhanced
- set_fontglyphs
- set_page_size
- set_font
- set_pdf
- set_cairolatex
- set_margin
- set_title
- set_trange
- set_ttics
- splot_points
- splot_grid
- heights_of_last
- set_contour
- set_dgrid3d
- set_pm3d
- set_spotlight
- set_contourfill
- set_wall
- set_boxdepth
- set_view
- set_hidden3d
- set_xyplane
- set_zlabel
- set_zrange
- set_ztics
- set_xlabel
- set_xrange
- set_cbtics
- unset_cbtics
- set_xtics
- set_mxtics
- set_errorbars
- set_mytics
- set_my2tics
- set_mx2tics
- set_mcbtics
- set_ylabel
- set_yrange
- set_ytics
- set_y2label
- set_y2range
- set_y2tics
- set_x2label
- set_x2range
- set_x2tics
- unset_logscale
- unset_multiplot
- unset_xtics
- unset_ytics
- unset_y2tics
- unset_x2tics
- environment_theme
- ensure_panels
- render
- set_tics
- wall_polygon
- place
- which_axes
- extension
- has_region
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
PAD | real(kind=R8P) | parameter | Outer padding [px]. |
GAP | real(kind=R8P) | parameter | Gap below the multiplot title [px]. |
LINE_HEIGHT | real(kind=R8P) | parameter | Text line height [font size]. |
Derived Types
figure_object
Figure.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
width | real(kind=R8P) | Page width [px], gnuplot svg terminal default. | |
height | real(kind=R8P) | Page height [px], gnuplot svg terminal default. | |
font_size | real(kind=R8P) | Font size [px]. | |
latin1 | logical | Texts in ISO 8859-1, written in UTF-8 (scripts' set encoding iso_8859_1). | |
enhanced | logical | Texts read as gnuplot's enhanced text (the scripts: on, as gnuplot; the library: off unless set). | |
refresh | integer(kind=I4P) | HTML page reload period [s], 0 for none. | |
clear_screen | logical | Clear the terminal before text output (live view). | |
text_charset | character(len=9) | Text output: dumb characters, or the block character set half, quadrants, sextants, braille (gnuplot block terminal). | |
text_colors | character(len=7) | Text output colors: mono, ansi, ansi256, ansirgb. | |
theme | type(theme_object) | Output theme (foresight_theme), classic by default. | |
theme_chosen | logical | The theme was set: FORESIGHT_THEME no longer applies. | |
rows | integer(kind=I4P) | Panel grid rows. | |
cols | integer(kind=I4P) | Panel grid columns. | |
current | integer(kind=I4P) | Current panel, filled row by row. | |
layout | logical | Multiplot grid: panels in cells, else in their origin/size boxes (single plot, manual multiplot). | |
columns_first | logical | Layout filled column by column (gnuplot columnsfirst), else row by row. | |
upwards | logical | Layout filled from the bottom row (gnuplot upwards), else from the top. | |
manual | logical | Manual multiplot: panels added on demand. | |
title | character(len=:) | allocatable | Multiplot title, empty for none. |
title_font | type(font_object) | Multiplot title font (set multiplot title ... font). | |
svg_glyphs | logical | SVG texts drawn from the compiled-in glyphs. | |
pdf_line_scale | real(kind=R8P) | PDF line widths times this (linewidth). | |
pdf_dash_scale | real(kind=R8P) | PDF dash lengths times this (dashlength). | |
pdf_cap | character(len=7) | PDF line caps: butt, rounded, square. | |
pdf_mono | logical | PDF monochrome (mono). | |
page_color | character(len=16) | Page color (background), before the theme's map. | |
pdf_glyphs | logical | PDF texts in the compiled-in fonts, embedded. | |
tex_standalone | logical | cairolatex: a whole LaTeX document (standalone). | |
tex_colortext | logical | cairolatex: texts in their colors (colortext). | |
tex_header | character(len=:) | allocatable | cairolatex: LaTeX code (header), empty for none. |
tex_font | character(len=:) | allocatable | cairolatex: LaTeX font name, empty for none. |
tex_size | real(kind=R8P) | cairolatex: font size [pt] (a standalone document's). | |
font_family | character(len=48) | Page font family (set terminal ... font "name,size"), empty for foresight's. | |
panels | type(axes_object) | allocatable | Plot panels. |
layout_margins | real(kind=R8P) | Layout plot areas within left, right, bottom, top (gnuplot set multiplot ... margins): screen fractions, characters with layout_chars; -1 none. | |
layout_chars | logical | Those margins are in characters. | |
layout_spacing | real(kind=R8P) | Space between the layout plot areas, x and y (gnuplot spacing, 0.05 screen by default). | |
spacing_chars | logical | That space is in characters. | |
gnuplot_labels | logical | gnuplot's default tick labels, % h per label (the scripts'), on every axis of every panel. |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
clear | pass(self) | Remove the series of the current panel, keeping the settings. |
image | pass(self) | gnuplot plot ... with image, a grid of values. |
rgbimage | pass(self) | gnuplot plot ... with rgbimage|rgbalpha, a grid of colors. |
init | pass(self) | Reset the figure, optionally resizing it. |
next_panel | pass(self) | Move to the next multiplot panel, carrying the settings over. |
plot | pass(self) | gnuplot plot, one series per call. |
splot_points | pass(self) | gnuplot splot of scattered points. |
splot_grid | pass(self) | gnuplot splot of a grid. |
splot | gnuplot splot, one surface or set of points per call. Generic: splot_points, splot_grid | |
set_view | pass(self) | gnuplot set view. |
set_xyplane | pass(self) | gnuplot set xyplane. |
set_hidden3d | pass(self) | gnuplot set hidden3d. |
set_pm3d | pass(self) | gnuplot set pm3d. |
set_spotlight | pass(self) | gnuplot set pm3d spotlight. |
set_contourfill | pass(self) | gnuplot set contourfill. |
set_wall | pass(self) | gnuplot set wall, set walls. |
set_boxdepth | pass(self) | gnuplot set boxdepth. |
set_contour | pass(self) | gnuplot set contour, set cntrparam, set cntrlabel. |
set_dgrid3d | pass(self) | gnuplot set dgrid3d. |
set_zlabel | pass(self) | gnuplot set zlabel. |
set_zrange | pass(self) | gnuplot set zrange. |
set_ztics | pass(self) | gnuplot set ztics. |
save | pass(self) | Render to a file; the format follows the extension. |
set_angles | pass(self) | gnuplot set angles. |
set_border | pass(self) | gnuplot set border / unset border. |
set_errorbars | pass(self) | gnuplot set errorbars. |
set_boxwidth | pass(self) | gnuplot set boxwidth. |
set_cblabel | pass(self) | gnuplot set cblabel. |
set_cbrange | pass(self) | gnuplot set cbrange. |
set_colorbox | pass(self) | gnuplot set colorbox / unset colorbox. |
set_format | pass(self) | gnuplot set format. |
set_time_axes | pass(self) | gnuplot set xdata time. |
set_timefmt | pass(self) | gnuplot set timefmt. |
new_histogram | pass(self) | gnuplot plot newhistogram. |
add_label | pass(self) | Add a label object (gnuplot set label). |
add_arrow | pass(self) | Add an arrow object (gnuplot set arrow). |
add_object | pass(self) | Add a shape object (gnuplot set object). |
add_pixmap | pass(self) | Add an image from a PNG file (gnuplot set pixmap). |
unset_pixmap | pass(self) | gnuplot unset pixmap. |
set_label | pass(self) | gnuplot set label. |
set_arrow | pass(self) | gnuplot set arrow. |
set_object | pass(self) | gnuplot set object. |
unset_label | pass(self) | gnuplot unset label. |
unset_arrow | pass(self) | gnuplot unset arrow. |
unset_object | pass(self) | gnuplot unset object. |
set_grid | pass(self) | gnuplot set grid / unset grid. |
set_key | pass(self) | gnuplot set key / unset key. |
set_logscale | pass(self) | gnuplot set logscale. |
set_multiplot | pass(self) | gnuplot set multiplot layout rows,cols title "...". |
set_origin | pass(self) | gnuplot set origin. |
set_colorsequence | pass(self) | gnuplot set colorsequence. |
set_palette | pass(self) | gnuplot set palette. |
set_palette_gradient | pass(self) | gnuplot set palette defined/file from arrays. |
set_paxis | pass(self) | gnuplot set paxis N range|tics|label. |
set_polar | pass(self) | gnuplot set polar / unset polar. |
set_raxis | pass(self) | gnuplot set raxis / unset raxis. |
set_readout | pass(self) | Readouts: on/off, position, window, digit size. |
set_refresh | pass(self) | HTML page reload period, for live monitoring. |
set_rrange | pass(self) | gnuplot set rrange. |
set_rtics | pass(self) | gnuplot set rtics / unset rtics. |
set_size | pass(self) | gnuplot set size. |
set_style_fill | pass(self) | gnuplot set style fill. |
set_style_histogram | pass(self) | gnuplot set style histogram. |
set_style_boxplot | pass(self) | gnuplot set style boxplot. |
set_style_spiderplot | pass(self) | gnuplot set style spiderplot. |
set_spiderplot | pass(self) | gnuplot set spiderplot / unset spiderplot. |
set_text | pass(self) | Text output: gnuplot dumb or block terminal, colors. |
set_theme | pass(self) | Output theme: classic, vfd, lcd; glow. |
set_theta | pass(self) | gnuplot set theta. |
set_margin | pass(self) | Set a margin, set lmargin... |
set_enhanced | pass(self) | Enhanced text on or off. |
set_fontglyphs | pass(self) | Texts drawn from the compiled-in glyphs, or set by font names. |
set_page_size | pass(self) | Page size in px, in, cm or pt (gnuplot's terminal size). |
set_font | pass(self) | Page font, gnuplot's "family,size" in points. |
set_pdf | pass(self) | PDF line widths, dashes, caps, monochrome, background. |
set_cairolatex | pass(self) | LaTeX picture options: standalone, colortext, header, font, size. |
set_border_style | pass(self) | Border line: lc, lw, dt. |
set_zeroaxis | pass(self) | Zero axes. |
set_key_style | pass(self) | Key layout: reverse, Left, invert, opaque, ... |
set_title | pass(self) | gnuplot set title. |
set_trange | pass(self) | gnuplot set trange. |
set_ttics | pass(self) | gnuplot set ttics / unset ttics. |
set_xlabel | pass(self) | gnuplot set xlabel. |
set_xrange | pass(self) | gnuplot set xrange. |
set_xtics | pass(self) | gnuplot set xtics. |
set_mxtics | pass(self) | gnuplot set mxtics. |
set_mytics | pass(self) | gnuplot set mytics. |
set_my2tics | pass(self) | gnuplot set my2tics. |
set_mx2tics | pass(self) | gnuplot set mx2tics. |
set_mcbtics | pass(self) | gnuplot set mcbtics. |
set_cbtics | pass(self) | gnuplot set cbtics. |
unset_cbtics | pass(self) | gnuplot unset cbtics. |
set_ylabel | pass(self) | gnuplot set ylabel. |
set_yrange | pass(self) | gnuplot set yrange. |
set_ytics | pass(self) | gnuplot set ytics. |
set_y2label | pass(self) | gnuplot set y2label. |
set_y2range | pass(self) | gnuplot set y2range. |
set_y2tics | pass(self) | gnuplot set y2tics. |
set_x2label | pass(self) | gnuplot set x2label. |
set_x2range | pass(self) | gnuplot set x2range. |
set_x2tics | pass(self) | gnuplot set x2tics. |
unset_logscale | pass(self) | gnuplot unset logscale. |
unset_multiplot | pass(self) | gnuplot unset multiplot. |
unset_xtics | pass(self) | gnuplot unset xtics. |
unset_ytics | pass(self) | gnuplot unset ytics. |
unset_y2tics | pass(self) | gnuplot unset y2tics. |
unset_x2tics | pass(self) | gnuplot unset x2tics. |
environment_theme | pass(self) | The theme of FORESIGHT_THEME, unless one was set. |
ensure_panels | pass(self) | Allocate the single default panel if needed. |
render | pass(self) | Render on a device. |
Subroutines
clear
Remove the series of the current panel, keeping every setting: a new gnuplot plot replaces the previous one, with the ranges of the previous plot command (plot [min:max]).
subroutine clear(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
rgbimage
Image of the colors red, green, blue (and alpha, opaque if absent) per pixel (column, row), 0 to 255, as gnuplot plot ... with rgbimage (rgbalpha): pixel centres x(column), y(row) as image; a NaN component makes its pixel transparent. No palette nor color box.
subroutine rgbimage(self, red, green, blue, x, y, title, alpha)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
red | real(kind=R8P) | in | Red components (column, row), rows upward. | |
green | real(kind=R8P) | in | Green components. | |
blue | real(kind=R8P) | in | Blue components. | |
x | real(kind=R8P) | in | optional | Pixel centre abscissae. |
y | real(kind=R8P) | in | optional | Pixel centre ordinates. |
title | character(len=*) | in | optional | Key title. |
alpha | real(kind=R8P) | in | optional | Opacities, 0 (transparent) to 255. |
Call graph
image
Image of the values z(column, row) (a heatmap), as gnuplot plot ... with image: pixel centres x(column) and y(row), evenly spaced and increasing (0, 1, ... if absent, as gnuplot matrix), colored by set_palette over set_cbrange; NaN values are transparent. The x and y axes fit the pixel edges.
subroutine image(self, z, x, y, title)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
z | real(kind=R8P) | in | Values (column, row), rows upward. | |
x | real(kind=R8P) | in | optional | Pixel centre abscissae. |
y | real(kind=R8P) | in | optional | Pixel centre ordinates. |
title | character(len=*) | in | optional | Key title. |
Call graph
init
Reset the figure to gnuplot defaults, optionally resizing it.
subroutine init(self, width, height, font_size)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
width | integer(kind=I4P) | in | optional | Page width [px]. |
height | integer(kind=I4P) | in | optional | Page height [px]. |
font_size | real(kind=R8P) | in | optional | Font size [px]. |
Call graph
next_panel
Move to the next panel of the multiplot: the next grid cell, or a new panel in a manual multiplot; the settings of the current panel carry over, as in gnuplot.
subroutine next_panel(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
plot
Add the series (x, y) to the current panel, as gnuplot plot ... title ... with ... lc ... lw ... dt ... ps ... axes. colors gives each point its color (gnuplot lc variable) with lines, points, linespoints, impulses and the error bars: a line segment takes the color of its end point, a bar its point's; in the key, the line sample that of the first point, the point sample that of the last one. palette_z colors each point by its value through the palette over the color axis (gnuplot lc palette z, the same styles and rules; the color axis spans these values and its box is drawn); palette_cb (a color axis value) and palette_frac (a fraction of the palette, 0 to 1) color the whole series (lc palette cb|frac).
Error bar styles (yerrorbars, xerrorbars, xyerrorbars) take the bar bounds ylow/yhigh, xlow/xhigh. axes='x1y2' plots the series against the second y axis, scaled on its own, x2y1 against the second x axis (x2y2 both). pt is gnuplot's point type (0 a dot, 1 plus, 2 cross, 3 star, 4-5 square, 6-7 circle, 8-9 triangle, 10-11 inverted triangle, 12-13 diamond, 14-15 pentagon, odd ones from 5 filled; cycling every 15), 9 px wide at ps 1; without it points are round dots.
with='readout' (a foresight extension) shows the last finite y in seven-segment digits, titled by title, on a glass of format (a printf conversion with a field width, '%9.2e'; '%10.3e' if absent): see foresight_readout and set_readout. A readout takes lc only among the style options.
with='boxes' draws a bar from y = 0 to each y, width wide (per box; NaN or absent: set_boxwidth, else the boxes touch); with='filledcurves' fills down to base, between ylow and y, or the closed polygon of the points. fs takes gnuplot fill style words ('solid 0.5 noborder'), over set_style_fill.
with='histograms' draws a bar per y in the row at x (0, 1, 2, ... as gnuplot), laid out with the other histograms of the panel by set_style_histogram. xlabels label the abscissae (gnuplot xtic(N)): text labels then replace the x ticks.
with='circles' draws a circle per point, radius in x units (2% of the plot width if absent or NaN), a wedge with angles(:, i) = start and end [deg, counterclockwise from the x direction]. with='pie' (a foresight extension, alone in its panel) draws the y as slices from 12 o'clock clockwise, labelled by xlabels with their percentage in the key; donut (0 to below 1) leaves a hole of that fraction of the radius.
Panel charts (foresight extensions, alone in their panel, several of the same kind side by side for gauges and radars): with='gauge' shows the last finite y on a 270-degree sweep over scale (its two end values), lit in fs='segments N' cells if set, the value in digits of format; with='radar' a polygon over a spoke per point, named by xlabels; with='rose' equal sectors of area by value (radius by value with linear).
with='boxerrorbars' draws boxes (as boxes) with y error bars from ylow to yhigh; boxxyerror a rectangle from xlow to xhigh, ylow to yhigh; candlesticks and financebars take the open y, low ylow, high yhigh and close (a box-and-whisker plot: box start, whisker ends, box end), candlesticks a width and whiskerbars (crossbars, a fraction of the box width). with='boxplot' draws the quartiles, median, whiskers and outliers of the values y at x(1), one box per level of factors if given, laid out by set_style_boxplot.
with='vectors' draws arrows from the points by dx, dy; arrows by length (> 0 x units, kept at any angle; in (-1, 0) a fraction of the plot width) and angle [deg]; head takes gnuplot's words ('heads filled'). ellipses take major, minor diameters (x and y units) and angle [deg]; polygons fill each NaN-separated run of points; labels write labels(i) at the points with the label words ('left offset 1,0 point'); sectors draw the annular sectors from azimuth x, radius y by angle (the angle unit) and width.
subroutine plot(self, x, y, title, with, lc, lw, dt, ps, xlow, xhigh, ylow, yhigh, axes, pt, format, width, base, fs, xlabels, radius, angles, donut, scale, linear, close, whiskerbars, factors, dx, dy, length, angle, major, minor, labels, label, head, origins, curve, at, colors, palette_z, palette_cb, palette_frac, pi, labels_axis)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
x | real(kind=R8P) | in | Abscissae. | |
y | real(kind=R8P) | in | Ordinates. | |
title | character(len=*) | in | optional | Key title, empty or absent for none. |
with | character(len=*) | in | optional | Plotting style: lines (default), points, .... |
lc | character(len=*) | in | optional | Line color (SVG color); default from the linetype colors. |
lw | real(kind=R8P) | in | optional | Line width [px]. |
dt | integer(kind=I4P) | in | optional | Dash type, 1..5. |
ps | real(kind=R8P) | in | optional | Point size scale factor. |
xlow | real(kind=R8P) | in | optional | Horizontal error bar starts. |
xhigh | real(kind=R8P) | in | optional | Horizontal error bar ends. |
ylow | real(kind=R8P) | in | optional | Vertical error bar starts. |
yhigh | real(kind=R8P) | in | optional | Vertical error bar ends. |
axes | character(len=*) | in | optional | Axes of the series: x1y1 (default), x1y2, x2y1, x2y2. |
pt | integer(kind=I4P) | in | optional | gnuplot point type, >= 0. |
format | character(len=*) | in | optional | Readout format. |
width | real(kind=R8P) | in | optional | Box widths. |
base | real(kind=R8P) | in | optional | Baseline of a fill. |
fs | character(len=*) | in | optional | Fill style words. |
xlabels | character(len=*) | in | optional | Text labels of the abscissae. |
radius | real(kind=R8P) | in | optional | Circle radii [x units]. |
angles | real(kind=R8P) | in | optional | Wedge angles (2, point) [deg]. |
donut | real(kind=R8P) | in | optional | Pie hole fraction. |
scale | real(kind=R8P) | in | optional | Gauge scale: the values at the sweep ends. |
linear | logical | in | optional | Rose radius by value. |
close | real(kind=R8P) | in | optional | Closing values of candlesticks and finance bars. |
whiskerbars | real(kind=R8P) | in | optional | Candlestick whisker crossbars, a box width fraction. |
factors | character(len=*) | in | optional | Factor level of each boxplot value. |
dx | real(kind=R8P) | in | optional | Vector extents along x. |
dy | real(kind=R8P) | in | optional | Vector extents along y. |
length | real(kind=R8P) | in | optional | Arrow lengths. |
angle | real(kind=R8P) | in | optional | Arrow or ellipse angles [deg], sector extents. |
major | real(kind=R8P) | in | optional | Ellipse major diameters. |
minor | real(kind=R8P) | in | optional | Ellipse minor diameters. |
labels | character(len=*) | in | optional | Texts of labels. |
label | character(len=*) | in | optional | Label option words. |
head | character(len=*) | in | optional | Arrowhead words. |
origins | real(kind=R8P) | in | optional | Sector centres (2, point). |
curve | character(len=*) | in | optional | Filled curve options ('x1', 'above', 'xy=0,1'). |
at | real(kind=R8P) | in | optional | Position of a parallel axis. |
colors | character(len=*) | in | optional | Color of each point (gnuplot lc variable). |
palette_z | real(kind=R8P) | in | optional | Palette value of each point (lc palette z). |
palette_cb | real(kind=R8P) | in | optional | A color axis value (lc palette cb). |
palette_frac | real(kind=R8P) | in | optional | A fraction of the palette (lc palette frac). |
pi | integer(kind=I4P) | in | optional | A point marker every pi points (pointinterval). |
labels_axis | character(len=*) | in | optional | Axis the xlabels mark: x (default, xtic), x2 at the abscissae, y (ytic), y2 at the ordinates. |
Call graph
save
Render the figure to file; the format follows the name: .svg static, .html interactive, .pdf PDF, .tex a LaTeX picture whose texts LaTeX sets (gnuplot's cairolatex: NAME.tex and its graphics NAME.pdf, or NAME-inc.pdf for a standalone document, see set_cairolatex), .txt text (the gnuplot dumb or block terminal, see set_text), - text on standard output. Page color. Graphics file, without extension.
subroutine save(self, file)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
file | character(len=*) | in | Output file. |
Call graph
set_cblabel
Color box label, as gnuplot set cblabel; empty for none.
subroutine set_cblabel(self, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
label | character(len=*) | in | Label. |
Call graph
set_cbrange
Color range of the images, as gnuplot set cbrange [min:max]: an absent end is autoscaled to the values.
subroutine set_cbrange(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | Value of the first palette color. |
max | real(kind=R8P) | in | optional | Value of the last palette color. |
Call graph
set_colorbox
Draw the color box of the images (on absent or true), as gnuplot set colorbox, or not (on false: unset colorbox, which also resets every option). horizontal (else vertical), user (in the origin, size box: canvas fractions from the bottom left; else at the default place: right of the plot, or below it when horizontal), border, invert (a vertical box with low values at the top). With no option at all the box returns to the default place, the others kept, as gnuplot's bare set colorbox.
subroutine set_colorbox(self, on, horizontal, user, origin, size, border, invert)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Box drawn. |
horizontal | logical | in | optional | Horizontal, else vertical. |
user | logical | in | optional | In the user box, else at the default place. |
origin | real(kind=R8P) | in | optional | User box bottom left, canvas fractions. |
size | real(kind=R8P) | in | optional | User box width and height, canvas fractions (> 0). |
border | logical | in | optional | Frame drawn. |
invert | logical | in | optional | Low values at the top of a vertical box. |
Call graph
set_palette
Palette of the images, as gnuplot set palette: '' (the default, rgbformulae 7,5,15), 'rgbformulae 33,13,10', 'defined (0 "blue", 1 "white", 2 "red")', 'cubehelix start 0 cycles 1', 'gray', 'viridis', 'negative', 'maxcolors 8'; a named palette of foresight_colormaps, any case ('batlow', 'vik negative', 'romaO maxcolors 12').
subroutine set_palette(self, words)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
words | character(len=*) | in | Palette words. |
Call graph
set_colorsequence
Linetype colors of the series, lc N and the slices of the current panel (carried to the next ones), as gnuplot set colorsequence default|podo|classic; beyond gnuplot, a categorical order ('batlowS', ..., any case) and the number of its colors taken (8 by default), the most distinct first. Series already added keep theirs; a theme recolors gnuplot's default sequence only.
subroutine set_colorsequence(self, name, colors)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
name | character(len=*) | in | Sequence. | |
colors | integer(kind=I4P) | in | optional | Colors of a categorical order, 1 to 100. |
Call graph
set_palette_gradient
Palette of the images as a gradient, as gnuplot set palette defined or set palette file: colors(:, k) (red, green, blue, 0 to 1, clipped) at positions(k), increasing (equal ones make a sharp step), mapped to 0..1. Other palette settings (negative, maxcolors) are kept; set_palette words can follow.
subroutine set_palette_gradient(self, positions, colors)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
positions | real(kind=R8P) | in | Positions. | |
colors | real(kind=R8P) | in | Colors (red, green, blue; position). |
Call graph
set_angles
Unit of the angles, as gnuplot set angles degrees|radians (radians by default): theta of a polar panel and the trigonometric functions of its expressions (set_angles affects the script interpreter's compilation).
subroutine set_angles(self, unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
unit | character(len=*) | in | degrees or radians. |
Call graph
set_border
Border sides, as gnuplot set border MASK [polar] (unset border is mask 0): 1 bottom, 2 left, 4 top, 8 right (31 by default, the full frame); polar adds the circle of the largest r on a polar panel. Without mask, polar keeps the sides (gnuplot: unset border; set border polar draws the circle alone), else the full frame is restored.
subroutine set_border(self, mask, polar)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
mask | integer(kind=I4P) | in | optional | Sides; 31 if absent. |
polar | logical | in | optional | Polar border. |
Call graph
set_border_style
The border's line, as gnuplot set border ... lc C lw W dt N: lc empty for the frame color.
subroutine set_border_style(self, lc, lw, dt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
lc | character(len=*) | in | optional | Line color. |
lw | real(kind=R8P) | in | optional | Line width [px]. |
dt | integer(kind=I4P) | in | optional | Dash type, 1 solid. |
Call graph
set_zeroaxis
Lines at the zero of the axes (x: y = 0, y: x = 0, x2, y2; blank-separated), as gnuplot set xzeroaxis (on absent or true) or unset, with their line: lc empty for the frame color, dt 3 gnuplot's dots.
subroutine set_zeroaxis(self, axes, on, lc, lw, dt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
axes | character(len=*) | in | Axes. | |
on | logical | in | optional | Drawn. |
lc | character(len=*) | in | optional | Line color. |
lw | real(kind=R8P) | in | optional | Line width [px]. |
dt | integer(kind=I4P) | in | optional | Dash type. |
Call graph
set_boxwidth
Box width, as gnuplot set boxwidth W [absolute|relative]: width absent or 0 for the default, the boxes touching; relative scales that default instead of setting the width.
subroutine set_boxwidth(self, width, relative)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
width | real(kind=R8P) | in | optional | Width, or fraction of the default with relative. |
relative | logical | in | optional | Relative width. |
Call graph
set_style_fill
Fill of the boxes and filled curves plotted next, as gnuplot set style fill: 'empty', 'solid 0.5', 'transparent solid 0.3 noborder', 'solid border lc "black"'.
subroutine set_style_fill(self, words)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
words | character(len=*) | in | Fill style words. |
Call graph
set_style_histogram
Layout of the histograms plotted next, as gnuplot set style histogram clustered [gap G]|errorbars [gap G] [lw W]|rowstacked|columnstacked: style clustered (the default), errorbars (clustered, each bar with its error bar: plot ylow, yhigh), rowstacked (a stack per row) or columnstacked (a stack per histogram, its rows in their linetype colors, the row names given as labels its key entries); gap the space between clusters, in bar widths (2 by default, kept until set again); lw the error bar width [px].
subroutine set_style_histogram(self, style, gap, lw)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
style | character(len=*) | in | clustered, errorbars, rowstacked or columnstacked. | |
gap | real(kind=R8P) | in | optional | Gap between clusters [bars]. |
lw | real(kind=R8P) | in | optional | Error bar width [px]. |
Call graph
new_histogram
Start a new group of histograms in the current plot, as gnuplot plot newhistogram ["title"] [at X] [lt N]: the histograms plotted next form a group laid out after the previous one (2 rows after its last), or from at; title is written below the x axis under the group; lt makes their default colors start at linetype N.
subroutine new_histogram(self, title, at, lt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
title | character(len=*) | in | optional | Group title. |
at | real(kind=R8P) | in | optional | Group start. |
lt | integer(kind=I4P) | in | optional | First linetype of the group. |
Call graph
set_style_boxplot
Layout of the boxplots plotted next, as gnuplot set style boxplot: words among range R (1.5), fraction F, outliers (the default) or nooutliers, pointtype P (7), candlesticks (the default) or financebars, medianlinewidth W, separation S (1), labels off|auto|x, sorted or unsorted (the default).
subroutine set_style_boxplot(self, words)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
words | character(len=*) | in | Style words. |
Call graph
set_format
Tick label format of the axes named x, y, y2, cb (all when absent), as gnuplot set format: text with one printf conversion %[flags][width][.precision] f, e, E, g, G or h (g with a x10 superscript exponent), e.g. '%.1e' or '%g s'; an empty format restores the default labels. On a time axis (set_time_axes) a time format, '%H:%M' (see foresight_time strftime). With geographic (gnuplot set format x "..." geographic, set xtics geographic) the labels are degrees, minutes and seconds: %D %M %S whole, %d %m %s as %f, %E %N the compass letter, e.g. '%D %E' (foresight_format dms_label).
subroutine set_format(self, format, axes, geographic)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
format | character(len=*) | in | Label format. | |
axes | character(len=*) | in | optional | Axes names, e.g. y, xy or y2. |
geographic | logical | in | optional | Labels in degrees, minutes, seconds. |
Call graph
set_time_axes
Time axes, as gnuplot set xdata time: the values of the axes named x, y, y2, x2 (all when absent) are seconds since 1970-01-01 00:00 UTC, ticked in whole time units and labelled by a time format (set_format, or one invented from the range); on false turns them back to numbers. timefmt (gnuplot set timefmt, default %d/%m/%y,%H:%M) orders day and month in the invented labels.
subroutine set_time_axes(self, axes, on, timefmt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
axes | character(len=*) | in | optional | Axes names, e.g. x or xy2. |
on | logical | in | optional | Time axes (default), or numbers. |
timefmt | character(len=*) | in | optional | Input time format. |
Call graph
set_timefmt
The input time format (gnuplot set timefmt) of every axis of the current panel: the day and month order of the labels invented for time axes.
subroutine set_timefmt(self, timefmt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
timefmt | character(len=*) | in | Input time format. |
Call graph
add_label
Add label to the current panel: tag 0 takes the next free tag, an existing tag is replaced (gnuplot set label N).
subroutine add_label(self, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
label | type(label_object) | in | Label. |
Call graph
add_arrow
Add arrow to the current panel: tag 0 takes the next free tag, an existing tag is replaced.
subroutine add_arrow(self, arrow)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
arrow | type(arrow_object) | in | Arrow. |
Call graph
add_object
Add object to the current panel: tag 0 takes the next free tag, an existing tag is replaced.
subroutine add_object(self, object)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
object | type(shape_object) | in | Object. |
Call graph
add_pixmap
Add pixmap to the current panel, an existing tag replaced.
subroutine add_pixmap(self, pixmap)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
pixmap | type(pixmap_object) | in | Pixmap. |
Call graph
unset_pixmap
Remove the pixmap tag of the current panel, every pixmap without it (gnuplot unset pixmap N, unset pixmaps).
subroutine unset_pixmap(self, tag)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
tag | integer(kind=I4P) | in | optional | Tag. |
Call graph
unset_label
Remove the label tag of the current panel, every label without it (gnuplot unset label [N]).
subroutine unset_label(self, tag)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
tag | integer(kind=I4P) | in | optional | Tag. |
Call graph
unset_arrow
Remove the arrow tag of the current panel, every arrow without it (gnuplot unset arrow [N]).
subroutine unset_arrow(self, tag)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
tag | integer(kind=I4P) | in | optional | Tag. |
Call graph
unset_object
Remove the object tag of the current panel, every object without it (gnuplot unset object [N]).
subroutine unset_object(self, tag)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
tag | integer(kind=I4P) | in | optional | Tag. |
Call graph
set_label
A label at (x, y), as gnuplot set label [tag] "text" at x,y: system the coordinate systems (first, the default, second, graph, screen; two words for x and y: 'graph first'), justify left (default), center or right, rotate [deg], color of the text, front over the frame (else behind the data), point a marker (pt, ps) at the position, offset the text offset, in characters or in offset_system (character, first, second, graph, screen; two words for x and y, as gnuplot offset graph 0.1, screen 0.02).
subroutine set_label(self, text, x, y, tag, system, justify, rotate, color, front, point, pt, ps, offset, offset_system)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
text | character(len=*) | in | Text. | |
x | real(kind=R8P) | in | Abscissa. | |
y | real(kind=R8P) | in | Ordinate. | |
tag | integer(kind=I4P) | in | optional | Tag, 0 or absent: the next free one. |
system | character(len=*) | in | optional | Coordinate systems. |
justify | character(len=*) | in | optional | left, center, right. |
rotate | real(kind=R8P) | in | optional | Angle [deg, counterclockwise]. |
color | character(len=*) | in | optional | Text color. |
front | logical | in | optional | Over the frame. |
point | logical | in | optional | A point at the position. |
pt | integer(kind=I4P) | in | optional | Point type. |
ps | real(kind=R8P) | in | optional | Point size. |
offset | real(kind=R8P) | in | optional | Text offset. |
offset_system | character(len=*) | in | optional | Its coordinate systems. |
Call graph
set_arrow
An arrow from (x1, y1) to (x2, y2), as gnuplot set arrow [tag] from x1,y1 to x2,y2: system the coordinate systems of the tail (as set_label), to_system those of the tip (the tail's by default), relative the tip relative to the tail (rto); head head (default), nohead, backhead or heads; length (x axis values) and angle [deg] of the heads; filled nofilled (default, two barbs), filled, empty or noborder; front over the frame; lc, lw, dt the line. Line of the dash type.
subroutine set_arrow(self, x1, y1, x2, y2, tag, system, to_system, relative, head, length, angle, filled, front, lc, lw, dt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
x1 | real(kind=R8P) | in | Tail abscissa. | |
y1 | real(kind=R8P) | in | Tail ordinate. | |
x2 | real(kind=R8P) | in | Tip abscissa. | |
y2 | real(kind=R8P) | in | Tip ordinate. | |
tag | integer(kind=I4P) | in | optional | Tag, 0 or absent: the next free one. |
system | character(len=*) | in | optional | Coordinate systems of the tail. |
to_system | character(len=*) | in | optional | Coordinate systems of the tip. |
relative | logical | in | optional | The tip relative to the tail. |
head | character(len=*) | in | optional | head, nohead, backhead, heads. |
length | real(kind=R8P) | in | optional | Head length [x axis values]. |
angle | real(kind=R8P) | in | optional | Head angle [deg]. |
filled | character(len=*) | in | optional | nofilled, filled, empty, noborder. |
front | logical | in | optional | Over the frame. |
lc | character(len=*) | in | optional | Line color. |
lw | real(kind=R8P) | in | optional | Line width [px]. |
dt | integer(kind=I4P) | in | optional | Dash type, 1..5. |
Call graph
set_object
An object, as gnuplot set object [tag] rectangle|circle|ellipse|polygon: a rectangle from the corner (x(1), y(1)) to (x(2), y(2)), or centred on (x(1), y(1)) with width and height; a circle centred on (x(1), y(1)) of radius (x axis values), its arc [deg] a wedge if partial; an ellipse centred there, width and height (axis values), angle [deg]; a polygon of the vertices (x, y). system the coordinate systems (as set_label), fc the fill color, fs the fill style words ('solid 0.3 border'), lw the border width, dt its dash type (1 solid to 5), layer behind, back (default) or front, clip false to draw beyond the plot area. In 3D views a polygon takes the heights z of its vertices (in the system of the abscissae), and layer='depthorder' sorts it with the pm3d quadrangles (gnuplot's depthorder). By default, as gnuplot, a rectangle is filled with the page color and bordered black, the others empty, black.
subroutine set_object(self, kind, x, y, tag, system, width, height, radius, angle, arc, fc, fs, lw, dt, layer, clip, z)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
kind | character(len=*) | in | rectangle, circle, ellipse, polygon. | |
x | real(kind=R8P) | in | Abscissae. | |
y | real(kind=R8P) | in | Ordinates. | |
tag | integer(kind=I4P) | in | optional | Tag, 0 or absent: the next free one. |
system | character(len=*) | in | optional | Coordinate systems. |
width | real(kind=R8P) | in | optional | Rectangle or ellipse width. |
height | real(kind=R8P) | in | optional | Rectangle or ellipse height. |
radius | real(kind=R8P) | in | optional | Circle radius. |
angle | real(kind=R8P) | in | optional | Ellipse angle [deg]. |
arc | real(kind=R8P) | in | optional | Circle arc [deg]. |
fc | character(len=*) | in | optional | Fill color. |
fs | character(len=*) | in | optional | Fill style words. |
lw | real(kind=R8P) | in | optional | Border width [px]. |
dt | integer(kind=I4P) | in | optional | Border dash type, 1 (solid) to 5. |
layer | character(len=*) | in | optional | behind, back, front. |
clip | logical | in | optional | Clipped by the plot area. |
z | real(kind=R8P) | in | optional | Heights of a 3D polygon's vertices. |
Call graph
set_paxis
Parallel axis n of the parallel axis and spider plots, as gnuplot set paxis n range [min:max] (an absent end autoscaled to the values, without extension), set paxis n tics [START,]STEP[,END] (tics true: automatic ticks; false: none, the default), set paxis n label "text" (spider plots).
subroutine set_paxis(self, n, min, max, step, start, end, tics, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
n | integer(kind=I4P) | in | Axis number, >= 1. | |
min | real(kind=R8P) | in | optional | Range start. |
max | real(kind=R8P) | in | optional | Range end. |
step | real(kind=R8P) | in | optional | Tick step. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
tics | logical | in | optional | Ticks on (automatic) or off. |
label | character(len=*) | in | optional | Axis label. |
Call graph
set_spiderplot
Spider plot coordinates (on absent or true), as gnuplot set spiderplot: the items of the panel are spider plot axes (its data style), its key not titled by the items; false restores the data style lines.
subroutine set_spiderplot(self, on)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Spider plot on. |
Call graph
set_style_spiderplot
Polygons of the spider plots plotted next, as gnuplot set style spiderplot: fill style words ('fs transparent solid 0.2 border', fs optional) and lw W, pt N, ps S.
subroutine set_style_spiderplot(self, words)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
words | character(len=*) | in | Style words. |
Call graph
set_grid
Draw grid lines at the major ticks (on absent or true), as gnuplot set grid, or not. On a polar panel, polar > 0 draws the polar grid instead (gnuplot set grid polar STEP): rings at the major r ticks and spokes every polar degrees of theta (360: none, the rings alone, gnuplot set grid r); 0 restores the rectangular grid. spider draws the web of the spider plots (gnuplot set grid spiderplot) at the ticks of their first axis.
subroutine set_grid(self, on, polar, spider, lines, front, lc, lw, dt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Grid on. |
polar | real(kind=R8P) | in | optional | Spoke step [deg], 0 for the rectangular grid. |
spider | logical | in | optional | Spider plot web. |
lines | logical | in | optional | Lines at the x, y, x2, y2 major and x, y minor ticks (gnuplot set grid x y x2 y2 mx my); none: x and y. |
front | logical | in | optional | Over the data (gnuplot front), else behind. |
lc | character(len=*) | in | optional | Line color, empty for the theme's. |
lw | real(kind=R8P) | in | optional | Line width [px]. |
dt | integer(kind=I4P) | in | optional | Dash type, 0 for foresight's dots, 1 solid. |
Call graph
set_key
Draw the key (on absent or true), as gnuplot set key, or not; position takes gnuplot's words, e.g. 'bottom left', 'center' (inside the plot area, top right by default), 'outside', 'below', 'above', 'lmargin', 'tmargin left', 'horizontal'; box draws a box around it. at places it at a position (gnuplot set key at), its box aligned there by the position words as a text ('left bottom': its bottom left corner), in the coordinates of system: one or two words of first (the default: the x and y values), second (x2, y2), graph (fractions of the plot area), screen (fractions of the page), for x then y. inside, outside, the margins, below and above cancel at.
subroutine set_key(self, on, position, box, at, system)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Key on. |
position | character(len=*) | in | optional | Position words: left, right, center, top, bottom. |
box | logical | in | optional | Box around the key. |
at | real(kind=R8P) | in | optional | Position of the key. |
system | character(len=*) | in | optional | Coordinate systems of at, x then y. |
Call graph
set_logscale
Base-10 log scale on the axes named x, y, y2, cb (the color axis of the images); all axes when absent, as gnuplot.
subroutine set_logscale(self, axes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
axes | character(len=*) | in | optional | Axes names, e.g. y, xy or y2. |
Call graph
set_multiplot
Lay out a rows x cols grid of panels, filled row by row starting from the first; every panel starts from the settings of the current one, without its series. Without rows and cols, a manual multiplot: each panel lies in its set_origin/set_size box, as gnuplot set multiplot without layout.
subroutine set_multiplot(self, rows, cols, title)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
rows | integer(kind=I4P) | in | optional | Grid rows. |
cols | integer(kind=I4P) | in | optional | Grid columns. |
title | character(len=*) | in | optional | Multiplot title. |
Call graph
set_origin
Bottom left corner of the plot as page fractions, as gnuplot set origin x,y: for a single plot and the panels of a multiplot; in a layout the panel leaves its cell for its own box (its size the cell's unless set), as gnuplot, until the next panel.
subroutine set_origin(self, x, y)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
x | real(kind=R8P) | in | Left side, page width fraction. | |
y | real(kind=R8P) | in | Bottom side, page height fraction. |
Call graph
own_box
The current panel of a multiplot layout leaves its grid cell for its own origin, size box (gnuplot's set origin, set size override the layout until the next plot), starting from its cell (page fractions from the bottom left, below no title band).
subroutine own_box(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
set_text
Text output (.txt, -): charset dumb (default), drawing with characters, or the gnuplot block character set half, quadrants, sextants, braille; colors mono (default), ansi, ansi256 or ansirgb, the series in ANSI colors. Absent arguments keep their setting.
subroutine set_text(self, charset, colors)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
charset | character(len=*) | in | optional | Character set. |
colors | character(len=*) | in | optional | Color mode. |
Call graph
set_polar
Polar coordinates (on absent or true), as gnuplot set polar: the series of the panel are theta:r (theta in set_angles units, from the set_theta origin), drawn at x = (r - rmin) cos(theta), y = (r - rmin) sin(theta) joined by straight segments; x and y autoscale to the disc of the largest r. The frame stays rectangular, as gnuplot: a round plot sets the polar border, the polar grid, the square size and turns the x and y ticks off.
subroutine set_polar(self, on)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Polar on. |
Call graph
set_raxis
Draw the radial axis of a polar panel (on absent or true; the default), as gnuplot set raxis, or not.
subroutine set_raxis(self, on)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Axis on. |
Call graph
set_readout
Draw the readouts (on absent or true) or not; position takes the set key words inside the plot area (left, right, center, top, bottom; top left by default) and horizontal or vertical (the default) for a row or a column of readouts; opaque draws a window behind them (default true); size is the digit height [px], 0 for the default (2.5 font sizes, growing to fill a panel of readouts alone).
subroutine set_readout(self, on, position, opaque, size)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Readouts on. |
position | character(len=*) | in | optional | Position words. |
opaque | logical | in | optional | Window behind the readouts. |
size | real(kind=R8P) | in | optional | Digit height [px]. |
Call graph
set_refresh
Make the HTML page reload itself every seconds (0 disables): live view of a file rewritten by a running job.
The zoom survives the reload, being kept in the page URL as data values.
Attributes: pure
subroutine set_refresh(self, seconds)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
seconds | integer(kind=I4P) | in | Reload period [s]. |
Call graph
set_rrange
r range of a polar panel, as gnuplot set rrange [min:max]: min lies at the pole (0 when absent), the points below it are undefined; an absent max autoscales to the largest |r|, extended to the r ticks.
subroutine set_rrange(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | r at the pole. |
max | real(kind=R8P) | in | optional | Largest r. |
Call graph
set_rtics
r ticks of a polar panel every step from start to end, automatic without step (the default), as gnuplot set rtics; on false turns them off (unset rtics).
subroutine set_rtics(self, step, start, end, on)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Tick step. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
on | logical | in | optional | Ticks on. |
Call graph
set_size
Size of the plot as page fractions, as gnuplot set size w,h: for a single plot and the panels of a multiplot; in a layout the panel leaves its cell for its own box (at the cell's origin unless set), as gnuplot, until the next panel. ratio > 0 fixes the plot area height over width (gnuplot set size ratio R, square is 1), 0 frees it (noratio); a negative ratio -R makes a y unit R times an x unit long (gnuplot set size ratio -1: equal units, the plot area shrunk to the ranges).
subroutine set_size(self, width, height, ratio)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
width | real(kind=R8P) | in | optional | Width, page width fraction, > 0. |
height | real(kind=R8P) | in | optional | Height, page height fraction, > 0. |
ratio | real(kind=R8P) | in | optional | Plot area height over width, 0 for none. |
Call graph
set_theme
Output theme (a foresight extension): name classic (the default), vfd (a vacuum fluorescent display: black glass, emissive colors, glowing data), lcd (a backlit liquid crystal display), washi or night (foresight's identity, light and dark: see foresight_theme), paper (a figure for a paper: 8 pt texts, the Okabe-Ito colors; serif sets them in Latin Modern Roman); glow overrides the theme's glow (on in vfd). Text output takes the theme colors of the series only (ansi colors).
subroutine set_theme(self, name, glow, serif)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
name | character(len=*) | in | optional | Theme name. |
glow | logical | in | optional | Glowing data. |
serif | logical | in | optional | The paper theme's texts in Latin Modern Roman. |
Call graph
set_theta
Where theta = 0 lies on a polar panel, right (the default), top, left or bottom, and whether theta grows clockwise (default counterclockwise), as gnuplot set theta.
subroutine set_theta(self, origin, clockwise)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
origin | character(len=*) | in | optional | Direction of theta = 0. |
clockwise | logical | in | optional | Theta grows clockwise. |
Call graph
set_key_style
Key layout of the current panel, as gnuplot set key: reverse the samples left of the titles, left the titles left-justified (Left), invert the entries in reverse order, opaque the key area painted over the plot, samplen the sample length [character widths; negative: foresight's], width character widths added to the titles, title a row above the entries (empty: none), offset a shift [characters, y up], title_justify the title's justification (left, center or right, as gnuplot set key title "T" left). Apart from set_key: nvfortran 26.9 -O2 loses present(at) there with these optional arguments after it.
subroutine set_key_style(self, reverse, left, invert, opaque, samplen, width, title, offset, title_justify)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
reverse | logical | in | optional | Samples left of the titles. |
left | logical | in | optional | Titles left-justified. |
invert | logical | in | optional | Entries in reverse order. |
opaque | logical | in | optional | The key area painted over the plot. |
samplen | real(kind=R8P) | in | optional | Sample length [character widths]. |
width | real(kind=R8P) | in | optional | Width added to the titles [character widths]. |
title | character(len=*) | in | optional | Key title. |
offset | real(kind=R8P) | in | optional | Key shift [characters]. |
title_justify | character(len=*) | in | optional | Key title justification. |
Call graph
set_enhanced
Read the titles, labels and key entries as gnuplot's enhanced text (x^2, T_{n-1}, {/Symbol a}; see foresight_enhanced), as gnuplot set termoption enhanced, or as they are.
subroutine set_enhanced(self, on)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Enhanced, true if absent. |
Call graph
set_fontglyphs
Texts drawn from the compiled-in glyphs, so that they look the same on every machine, or by font name, as gnuplot's svg terminal (set terminal svg fontglyphs|fontnames): svg for the SVG files (by name if absent: the reader's fonts), pdf for the PDF ones (embedded if absent; by name, the 14 standard fonts). The HTML pages keep their texts by name (the viewer redraws them).
subroutine set_fontglyphs(self, svg, pdf)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
svg | logical | in | optional | SVG texts from the glyphs. |
pdf | logical | in | optional | PDF texts embedded. |
Call graph
set_page_size
The page width x height in units: px (the default), in, cm or pt (96 px to the inch, as a PDF page's 0.75 pt per pixel), as gnuplot's set terminal pdfcairo size 8.5cm,6cm.
subroutine set_page_size(self, width, height, units)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
width | real(kind=R8P) | in | Width. | |
height | real(kind=R8P) | in | Height. | |
units | character(len=*) | in | optional | Units. |
Call graph
set_font
The page font from gnuplot's spec "family:Bold:Italic,size" (foresight_font font_of), its size in points (as gnuplot's cairo terminals), times fontscale (1 if absent): set terminal pdfcairo font "Sans,12" fontscale 0.5. An absent size keeps the page's; the family (serif for Latin Modern) names the page's family.
subroutine set_font(self, spec, fontscale)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
spec | character(len=*) | in | Font spec. | |
fontscale | real(kind=R8P) | in | optional | Size factor. |
Call graph
set_pdf
The PDF's lines, as gnuplot's pdfcairo terminal options: every width times linewidth (foresight's lines are 1 px, 0.75 pt), every dash times dashlength, the caps butt (miter joins, the default), rounded (round caps and joins) or square; mono lines and texts black, fills gray; background the page color (any device).
subroutine set_pdf(self, linewidth, dashlength, cap, mono, background)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
linewidth | real(kind=R8P) | in | optional | Line width factor. |
dashlength | real(kind=R8P) | in | optional | Dash length factor. |
cap | character(len=*) | in | optional | butt, rounded or square. |
mono | logical | in | optional | Monochrome. |
background | character(len=*) | in | optional | Page color. |
Call graph
set_cairolatex
The LaTeX picture of save('NAME.tex'), as gnuplot's cairolatex terminal options: standalone a whole document (its graphics NAME-inc.pdf), else one for \input (NAME.pdf); colortext the texts in their colors (gnuplot's colortext, else blacktext); header LaTeX code (the preamble's end when standalone, else the picture's start); font gnuplot's LaTeX font name family,series,shape; size the standalone document's font size [pt].
subroutine set_cairolatex(self, standalone, colortext, header, font, size)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
standalone | logical | in | optional | A whole document. |
colortext | logical | in | optional | Texts in color. |
header | character(len=*) | in | optional | LaTeX code. |
font | character(len=*) | in | optional | LaTeX font name. |
size | real(kind=R8P) | in | optional | Font size [pt]. |
Call graph
set_margin
Set a margin of the current panel, as gnuplot set lmargin|rmargin|tmargin|bmargin: side is l, r, t or b; value characters (0.6 font sizes wide, 1 high), or with screen the border at that fraction of the page (from the bottom left); a negative value (or none) lets it be computed.
subroutine set_margin(self, side, value, screen)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
side | character(len=1) | in | l, r, t or b. | |
value | real(kind=R8P) | in | optional | Margin. |
screen | logical | in | optional | At a page fraction. |
Call graph
set_title
Set the title of the current panel, empty for none, shifted by offset characters (x right, y up; gnuplot set title offset).
subroutine set_title(self, title, offset)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
title | character(len=*) | in | Title. | |
offset | real(kind=R8P) | in | optional | Shift [characters]. |
Call graph
set_trange
Angle range the script functions of a polar panel are sampled over, as gnuplot set trange [min:max] (in set_angles units; a full turn from 0 when absent). A set end also leaves out the data points beyond it, as gnuplot 6.0.
subroutine set_trange(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | First angle. |
max | real(kind=R8P) | in | optional | Last angle. |
Call graph
set_ttics
Theta labels of a polar panel outside its largest r, every step degrees from start (0), whatever the angle unit, as gnuplot set ttics START,STEP; every 45 degrees without step (gnuplot draws none); format the label format; on false turns them off (the default, unset ttics).
subroutine set_ttics(self, step, start, format, on)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Label step [deg]. |
start | real(kind=R8P) | in | optional | First label [deg]. |
format | character(len=*) | in | optional | Label format. |
on | logical | in | optional | Labels on. |
Call graph
splot_points
Add the points (x, y, z) to the current panel, made a 3D panel, as gnuplot splot ... using 1:2:3: one scan of scattered points, in the style with (points by default) and the line options of plot; palette colors them by their height (gnuplot lc palette). with='zerrorfill': the line through the points and the band from zlow to zhigh filled below it (gnuplot splot ... using 1:2:3:4:5 with zerrorfill); with='boxes': 3D boxes from the base plane (their width set_boxwidth, their depth set_boxdepth); with='polygons': the points the vertices of one polygon; fs the fill style words of these. zerrorfill's colors are gnuplot's: the band in the line color lc and the line in the fill's border color (black by default).
subroutine splot_points(self, x, y, z, title, with, lc, lw, dt, ps, pt, palette, zlow, zhigh, fs)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
x | real(kind=R8P) | in | Abscissae. | |
y | real(kind=R8P) | in | Ordinates. | |
z | real(kind=R8P) | in | Heights. | |
title | character(len=*) | in | optional | Key title. |
with | character(len=*) | in | optional | Style, points if absent. |
lc | character(len=*) | in | optional | Line color. |
lw | real(kind=R8P) | in | optional | Line width [px]. |
dt | integer(kind=I4P) | in | optional | Dash type. |
ps | real(kind=R8P) | in | optional | Point size. |
pt | integer(kind=I4P) | in | optional | Point type. |
palette | logical | in | optional | Colored by height through the palette. |
zlow | real(kind=R8P) | in | optional | Lower ends of the z errors (zerrorfill). |
zhigh | real(kind=R8P) | in | optional | Upper ends of the z errors (zerrorfill). |
fs | character(len=*) | in | optional | Fill style words. |
Call graph
splot_grid
Add the surface z(i, j) at (x(i), y(j)) to the current panel, made a 3D panel, as gnuplot splot of a grid: a scan per y(j) (gnuplot's iso-curves), in the style with (lines by default; image its pixels, the grid evenly spaced; pm3d colored quadrangles; contourfill the quadrangles cut into the slices of set_contourfill, each in one color) and the line options of plot; palette colors the points by height.
subroutine splot_grid(self, x, y, z, title, with, lc, lw, dt, ps, pt, palette)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
x | real(kind=R8P) | in | Abscissae of the columns. | |
y | real(kind=R8P) | in | Ordinates of the rows. | |
z | real(kind=R8P) | in | Heights (column, row). | |
title | character(len=*) | in | optional | Key title. |
with | character(len=*) | in | optional | Style, lines if absent. |
lc | character(len=*) | in | optional | Line color. |
lw | real(kind=R8P) | in | optional | Line width [px]. |
dt | integer(kind=I4P) | in | optional | Dash type. |
ps | real(kind=R8P) | in | optional | Point size. |
pt | integer(kind=I4P) | in | optional | Point type. |
palette | logical | in | optional | Colored by height through the palette. |
Call graph
heights_of_last
The heights z and the scans of the last series of the current panel, made a 3D panel.
subroutine heights_of_last(self, z, scans)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
z | real(kind=R8P) | in | Heights. | |
scans | integer(kind=I4P) | in | First and last point of each scan. |
Call graph
set_contour
The contour lines of the 3D surfaces, gnuplot set contour PLACE (on, place base, surface, both), set cntrparam: kind linear, cubicspline, bspline; levels N (automatic, about N), discrete the levels, incremental start, step[, end]; points per spline interval, B-spline order, firstlinetype, sorted; set cntrlabel: the label format ("%8.3g"), onecolor.
subroutine set_contour(self, on, place, kind, levels, discrete, incremental, points, order, firstlinetype, sorted, format, onecolor)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Contours drawn. |
place | character(len=*) | in | optional | base, surface or both. |
kind | character(len=*) | in | optional | linear, cubicspline or bspline. |
levels | integer(kind=I4P) | in | optional | About N automatic levels. |
discrete | real(kind=R8P) | in | optional | The levels. |
incremental | real(kind=R8P) | in | optional | Start, step[, end]. |
points | integer(kind=I4P) | in | optional | Points per spline interval. |
order | integer(kind=I4P) | in | optional | B-spline order, 2 to 10. |
firstlinetype | integer(kind=I4P) | in | optional | Linetype of the first level. |
sorted | logical | in | optional | Levels high to low. |
format | character(len=*) | in | optional | Label format. |
onecolor | logical | in | optional | All levels in the surface's color. |
Call graph
set_dgrid3d
gnuplot set dgrid3d: the scattered points of splot gridded (on), rows points along y of cols iso-curves of x (10, 10), each node a weighted mean of the points by mode: qnorm (inverse distance to the power norm, 1), splines (thin plate splines), or a kernel of the distance scaled by scale (dx, dy; 1, 1) gauss, cauchy, exp, box, hann; kdensity the kernel's weighted sums, a density.
subroutine set_dgrid3d(self, on, rows, cols, mode, norm, scale, kdensity)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Data gridded. |
rows | integer(kind=I4P) | in | optional | Points along y of each iso-curve. |
cols | integer(kind=I4P) | in | optional | Iso-curves of x. |
mode | character(len=*) | in | optional | Weighting. |
norm | integer(kind=I4P) | in | optional | The power of qnorm. |
scale | real(kind=R8P) | in | optional | Kernel scales along x and y. |
kdensity | logical | in | optional | Kernel sums (a density), not means. |
Call graph
set_pm3d
gnuplot set pm3d: implicit every surface drawn as colored quadrangles too (set pm3d; false: only the items with='pm3d', unset pm3d), interpolate the steps along and between the scans (interpolate N,M, 0 or negative for gnuplot's automatic counts), corners2color the color of a quadrangle from its corners (mean, geomean, harmean, rms, median, min, max, c1 to c4), clip4in its 4 corners in range. In 3D views: at where (b the base, s the surface, t the top, combined in drawing order, e.g. 'bs'), order the drawing order (scansautomatic, scansforward, scansbackward, depthorder), border the quadrangles outlined in black; clip 'z' (gnuplot's clip z, the default: the quadrangles cut at the z range), '1in' (clip1in: one corner in range is enough) or '4in' (clip4in); lighting gnuplot's set pm3d lighting (false: nolighting), its primary light (0.5), specular highlights (0.2) and spec2 the spotlight's share (0, see set_spotlight), each between 0 and 1.
subroutine set_pm3d(self, implicit, interpolate, corners2color, clip4in, at, order, border, clip, lighting, primary, specular, spec2)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
implicit | logical | in | optional | Every surface drawn with pm3d. |
interpolate | integer(kind=I4P) | in | optional | Interpolation steps. |
corners2color | character(len=*) | in | optional | Color of a quadrangle from its corners. |
clip4in | logical | in | optional | Its 4 corners in range. |
at | character(len=*) | in | optional | Where: b, s, t combined. |
order | character(len=*) | in | optional | Drawing order in 3D views. |
border | logical | in | optional | Outlined quadrangles. |
clip | character(len=*) | in | optional | z, 1in or 4in. |
lighting | logical | in | optional | Lit quadrangles. |
primary | real(kind=R8P) | in | optional | Share of the primary light. |
specular | real(kind=R8P) | in | optional | Share of the specular highlights. |
spec2 | real(kind=R8P) | in | optional | Share of the spotlight. |
Call graph
set_spotlight
The spotlight of pm3d's lighting, gnuplot set pm3d spotlight [rot_x A] [rot_z B] [rgbcolor C] [Phong P] [default]: its direction (rot_x, rot_z [deg], 50 and 90), its color ('#rrggbb', gnuplot's '#ff0044'), its Phong exponent phong (4); default those back first. Its share of the light is set_pm3d(spec2=).
subroutine set_spotlight(self, rot_x, rot_z, color, phong, default)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
rot_x | real(kind=R8P) | in | optional | Rotation about x [deg]. |
rot_z | real(kind=R8P) | in | optional | Rotation about z [deg]. |
color | character(len=*) | in | optional | Color, '#rrggbb'. |
phong | real(kind=R8P) | in | optional | Phong exponent. |
default | logical | in | optional | gnuplot's spotlight first. |
Call graph
set_contourfill
The slices of splot(..., with='contourfill'), gnuplot set contourfill: levels N slices evenly over the z range (auto N, 5 by default), or bounded by the major ztics or cbtics; each slice colored by the palette at its middle (palette, the default), or in the linetypes from firstlinetype.
subroutine set_contourfill(self, levels, ztics, cbtics, firstlinetype, palette)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
levels | integer(kind=I4P) | in | optional | Slices. |
ztics | logical | in | optional | Bounded by the z ticks. |
cbtics | logical | in | optional | Bounded by the cb ticks. |
firstlinetype | integer(kind=I4P) | in | optional | Linetype of the first slice. |
palette | logical | in | optional | Colored by the palette. |
Call graph
set_wall
A grid wall of the 3D views, gnuplot set wall y0|x0|y1|x1|z0 (the planes y = 0, x = 0, y = 1, x = 1, z = 0 of the graph) or, without which, set walls (y0, x0 and z0): filled half transparent in gnuplot's colors (the y walls '#cdb79e', the x ones '#228b22', z '#a0b6cd') and bordered black, drawn behind or in front of the plot as they face; fc the fill color, fs the fill style words ('solid 0.3 noborder'), lw the border width; on false removes it (every wall without which, unset walls).
subroutine set_wall(self, which, on, fc, fs, lw)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
which | character(len=*) | in | optional | y0, x0, y1, x1 or z0. |
on | logical | in | optional | Drawn. |
fc | character(len=*) | in | optional | Fill color. |
fs | character(len=*) | in | optional | Fill style words. |
lw | real(kind=R8P) | in | optional | Border width [px]. |
Call graph
set_boxdepth
The depth along y of the 3D boxes (splot(..., with='boxes')), gnuplot set boxdepth D (y autoscaled over y +- D), set boxdepth square (square: as deep as wide on the page); 0 or none: flat boxes (unset boxdepth).
subroutine set_boxdepth(self, depth, square)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
depth | real(kind=R8P) | in | optional | Depth (y axis values). |
square | logical | in | optional | As deep as wide on the page. |
Call graph
set_view
The view of the 3D panels, as gnuplot set view ROT_X, ROT_Z, SCALE, SCALE_Z (each kept if absent) or set view map [scale S] (map true; false back to the 3D view); equal 0 none, 1 equal xy, 2 equal xyz; azimuth a rotation about the line of sight (set view azimuth A); projection xy (the map), xz or yz (set view projection: the plane seen edge-on, gnuplot's fixed rotations, the line of sight turned by -90 degrees, the base plane at the bottom of the z range and the z tick labels centred; the yz plane with the z axis reversed). The rotations or the map end a projection.
subroutine set_view(self, map, rot_x, rot_z, scale, zscale, map_scale, equal, azimuth, projection)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
map | logical | in | optional | Seen from above, as a map. |
rot_x | real(kind=R8P) | in | optional | Rotation about x [deg]. |
rot_z | real(kind=R8P) | in | optional | Rotation about z [deg]. |
scale | real(kind=R8P) | in | optional | Scale. |
zscale | real(kind=R8P) | in | optional | Scale of z. |
map_scale | real(kind=R8P) | in | optional | Scale of the map view. |
equal | integer(kind=I4P) | in | optional | Equal axes. |
azimuth | real(kind=R8P) | in | optional | Rotation about the line of sight [deg]. |
projection | character(len=*) | in | optional | xy, xz or yz. |
Call graph
set_hidden3d
Hidden lines of the 3D views, as gnuplot set hidden3d [offset N] (on false: unset hidden3d): the grid surfaces drawn opaque, their underside in the linetype offset (1) after their own; for the surfaces added after.
subroutine set_hidden3d(self, on, offset)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
on | logical | in | optional | Hidden lines removed. |
offset | integer(kind=I4P) | in | optional | Linetype offset of the underside (0 the same). |
Call graph
set_xyplane
The base plane of the 3D views: at the height at (gnuplot set xyplane at Z), or below the z range by the fraction relative of it (set xyplane relative F, set ticslevel F; 0.5 by default).
subroutine set_xyplane(self, at, relative)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
at | real(kind=R8P) | in | optional | Height. |
relative | real(kind=R8P) | in | optional | Fraction of the z range. |
Call graph
set_zlabel
Set the z axis label of the current panel (a 3D one), empty for none.
subroutine set_zlabel(self, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
label | character(len=*) | in | Label. |
Call graph
set_zrange
Set the z range as gnuplot set zrange [min:max]: an absent end is autoscaled.
subroutine set_zrange(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | Value at the axis start. |
max | real(kind=R8P) | in | optional | Value at the axis end. |
Call graph
set_ztics
z ticks every step from start to end (both optional), as gnuplot set ztics START,STEP,END; automatic without step; positions, labels, minor and add an explicit list, as set_xtics.
subroutine set_ztics(self, step, start, end, positions, labels, minor, add)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Tick step. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
positions | real(kind=R8P) | in | optional | Explicit list positions. |
labels | character(len=*) | in | optional | Explicit list labels. |
minor | logical | in | optional | Explicit list minor ticks. |
add | logical | in | optional | Add the list to the ticks. |
Call graph
set_xlabel
Set the x axis label of the current panel, empty for none.
subroutine set_xlabel(self, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
label | character(len=*) | in | Label. |
Call graph
set_xrange
Set the x range as gnuplot set xrange [min:max]: an absent end is autoscaled, min > max reverses the axis.
subroutine set_xrange(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | Value at the axis start. |
max | real(kind=R8P) | in | optional | Value at the axis end. |
Call graph
set_cbtics
Ticks of the color box every step from start to end (both optional), as gnuplot set cbtics START,STEP,END; automatic without step. On a log color axis the step is a factor (> 1). positions is an explicit list, labelled by labels (as written, or a format with a conversion; the axis labels without them), minor marking minor ticks; add adds it to the ticks instead of replacing them, as gnuplot set cbtics [add] ("label" pos level, ...).
subroutine set_cbtics(self, step, start, end, positions, labels, minor, add)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Tick step, a factor on a log axis. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
positions | real(kind=R8P) | in | optional | Explicit list positions, gnuplot ("label" pos, ...). |
labels | character(len=*) | in | optional | Explicit list labels (a format if with a conversion). |
minor | logical | in | optional | Explicit list minor ticks (gnuplot level 1). |
add | logical | in | optional | Add the list to the ticks (gnuplot add). |
Call graph
unset_cbtics
No ticks nor tick labels on the color box, as gnuplot unset cbtics (the box and its label stay).
subroutine unset_cbtics(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
set_xtics
x ticks every step from start to end (both optional), as gnuplot set xtics START,STEP,END; automatic without step. On a log axis the step is a factor (> 1): ticks at start * step**k. mirror false draws them on the bottom border only (gnuplot nomirror). positions is an explicit list, labelled by labels (as written, or a format with a conversion; the axis labels without them), minor marking minor ticks; add adds it to the ticks instead of replacing them, as gnuplot set xtics [add] ("label" pos level, ...). rotate turns the labels [deg, counterclockwise], left-justified unless justify (gnuplot rotate by A; rotate is 90 with justify='right'); out points the ticks outward. Alone they keep the tick positions.
subroutine set_xtics(self, step, start, end, mirror, positions, labels, minor, add, rotate, justify, out)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Tick step, a factor on log axes. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
mirror | logical | in | optional | Ticks also on the top border. |
positions | real(kind=R8P) | in | optional | Explicit list positions, gnuplot ("label" pos, ...). |
labels | character(len=*) | in | optional | Explicit list labels (a format if with a conversion). |
minor | logical | in | optional | Explicit list minor ticks (gnuplot level 1). |
add | logical | in | optional | Add the list to the ticks (gnuplot add). |
rotate | real(kind=R8P) | in | optional | Label angle [deg, counterclockwise], gnuplot rotate by. |
justify | character(len=*) | in | optional | Rotated label justification: left, right, center. |
out | logical | in | optional | Ticks outward, gnuplot out. |
Call graph
set_mxtics
Minor x ticks, as gnuplot set mxtics [N]: intervals between consecutive major ticks of the automatic or fixed ticks (linearly in value on a log axis), gnuplot's count without it (2 or 5 by the step, 9 on log axes); 0 or 1 for none, as unset mxtics. With a time unit (seconds, minutes, hours, days, weeks, months, years), a minor tick every intervals units of a time axis, as gnuplot 6.0's set mxtics time N UNITS.
subroutine set_mxtics(self, intervals, unit)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
intervals | integer(kind=I4P) | in | optional | Intervals between major ticks, or time units. |
unit | character(len=*) | in | optional | Time unit. |
Call graph
set_errorbars
The error bars and boxplot whiskers, as gnuplot set errorbars [SIZE] [lc C] [lw W]: the cap length size (1 the default, 0 none, as small), the line color and width of the error bars (their series' if absent).
subroutine set_errorbars(self, size, lc, lw)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
size | real(kind=R8P) | in | optional | Cap length, in units of the default. |
lc | character(len=*) | in | optional | Error bar color. |
lw | real(kind=R8P) | in | optional | Error bar width [px]. |
Call graph
set_mytics
Minor y ticks, as gnuplot set mytics [N]: intervals between consecutive major ticks of the automatic or fixed ticks (linearly in value on a log axis), gnuplot's count without it (2 or 5 by the step, 9 on log axes); 0 or 1 for none, as unset mytics.
subroutine set_mytics(self, intervals)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
intervals | integer(kind=I4P) | in | optional | Intervals between major ticks. |
Call graph
set_my2tics
Minor second y ticks, as gnuplot set my2tics [N]: intervals between consecutive major ticks of the automatic or fixed ticks (linearly in value on a log axis), gnuplot's count without it (2 or 5 by the step, 9 on log axes); 0 or 1 for none, as unset my2tics.
subroutine set_my2tics(self, intervals)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
intervals | integer(kind=I4P) | in | optional | Intervals between major ticks. |
Call graph
set_mx2tics
Minor second x ticks, as gnuplot set mx2tics [N]: intervals between consecutive major ticks of the automatic or fixed ticks (linearly in value on a log axis), gnuplot's count without it (2 or 5 by the step, 9 on log axes); 0 or 1 for none, as unset mx2tics.
subroutine set_mx2tics(self, intervals)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
intervals | integer(kind=I4P) | in | optional | Intervals between major ticks. |
Call graph
set_mcbtics
Minor color box ticks, as gnuplot set mcbtics [N]: intervals between consecutive major ticks of the automatic or fixed ticks (linearly in value on a log axis), gnuplot's count without it (2 or 5 by the step, 9 on log axes); 0 or 1 for none, as unset mcbtics.
subroutine set_mcbtics(self, intervals)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
intervals | integer(kind=I4P) | in | optional | Intervals between major ticks. |
Call graph
set_ylabel
Set the y axis label of the current panel, empty for none.
subroutine set_ylabel(self, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
label | character(len=*) | in | Label. |
Call graph
set_yrange
Set the y range as gnuplot set yrange [min:max]: an absent end is autoscaled, min > max reverses the axis.
subroutine set_yrange(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | Value at the axis start. |
max | real(kind=R8P) | in | optional | Value at the axis end. |
Call graph
set_ytics
y ticks every step from start to end (both optional), as gnuplot set ytics START,STEP,END; automatic without step. On a log axis the step is a factor (> 1): ticks at start * step**k. mirror false draws them on the left border only (gnuplot nomirror), leaving the right one to the second y axis. positions is an explicit list, labelled by labels (as written, or a format with a conversion; the axis labels without them), minor marking minor ticks; add adds it to the ticks instead of replacing them, as gnuplot set ytics [add] ("label" pos level, ...). out points the ticks outward (gnuplot out); rotate turns the labels [deg, counterclockwise] from their tick, reading away from the plot, left-justified unless justify (gnuplot rotate by A; rotate is 90); alone they keep the tick positions.
subroutine set_ytics(self, step, start, end, mirror, positions, labels, minor, add, out)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Tick step, a factor on log axes. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
mirror | logical | in | optional | Ticks also on the right border. |
positions | real(kind=R8P) | in | optional | Explicit list positions, gnuplot ("label" pos, ...). |
labels | character(len=*) | in | optional | Explicit list labels (a format if with a conversion). |
minor | logical | in | optional | Explicit list minor ticks (gnuplot level 1). |
add | logical | in | optional | Add the list to the ticks (gnuplot add). |
out | logical | in | optional | Ticks outward, gnuplot out. |
Call graph
set_y2label
Set the second y axis label of the current panel, on the right, empty for none.
subroutine set_y2label(self, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
label | character(len=*) | in | Label. |
Call graph
set_y2range
Set the second y axis range as gnuplot set y2range [min:max]: an absent end is autoscaled on the x1y2 series.
subroutine set_y2range(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | Value at the axis start. |
max | real(kind=R8P) | in | optional | Value at the axis end. |
Call graph
set_y2tics
Ticks and labels of the second y axis on the right border, as gnuplot set y2tics START,STEP,END (automatic without step); off by default, as in gnuplot. mirror true draws the ticks on the left border too. positions is an explicit list, labelled by labels (as written, or a format with a conversion; the axis labels without them), minor marking minor ticks; add adds it to the ticks instead of replacing them, as gnuplot set y2tics [add] ("label" pos level, ...). out points the ticks outward (gnuplot out); alone it keeps the tick positions.
subroutine set_y2tics(self, step, start, end, mirror, positions, labels, minor, add, out)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Tick step, a factor on log axes. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
mirror | logical | in | optional | Ticks also on the left border. |
positions | real(kind=R8P) | in | optional | Explicit list positions, gnuplot ("label" pos, ...). |
labels | character(len=*) | in | optional | Explicit list labels (a format if with a conversion). |
minor | logical | in | optional | Explicit list minor ticks (gnuplot level 1). |
add | logical | in | optional | Add the list to the ticks (gnuplot add). |
out | logical | in | optional | Ticks outward, gnuplot out. |
Call graph
set_x2label
Set the second x axis label of the current panel, on the top, empty for none.
subroutine set_x2label(self, label)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
label | character(len=*) | in | Label. |
Call graph
set_x2range
Set the second x axis range as gnuplot set x2range [min:max]: an absent end is autoscaled on the x2y1 and x2y2 series (the range of the first x axis without them).
subroutine set_x2range(self, min, max)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
min | real(kind=R8P) | in | optional | Value at the axis start. |
max | real(kind=R8P) | in | optional | Value at the axis end. |
Call graph
set_x2tics
Ticks and labels of the second x axis on the top border, as gnuplot set x2tics START,STEP,END (automatic without step); off by default, as in gnuplot. Without series of its own the axis spans the first x axis range. mirror true draws the ticks on the bottom border too. positions is an explicit list, labelled by labels (as written, or a format with a conversion; the axis labels without them), minor marking minor ticks; add adds it to the ticks instead of replacing them, as gnuplot set x2tics [add] ("label" pos level, ...). out points the ticks outward (gnuplot out); alone it keeps the tick positions.
subroutine set_x2tics(self, step, start, end, mirror, positions, labels, minor, add, out, rotate, justify)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
step | real(kind=R8P) | in | optional | Tick step, a factor on log axes. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
mirror | logical | in | optional | Ticks also on the bottom border. |
positions | real(kind=R8P) | in | optional | Explicit list positions, gnuplot ("label" pos, ...). |
labels | character(len=*) | in | optional | Explicit list labels (a format if with a conversion). |
minor | logical | in | optional | Explicit list minor ticks (gnuplot level 1). |
add | logical | in | optional | Add the list to the ticks (gnuplot add). |
out | logical | in | optional | Ticks outward, gnuplot out. |
rotate | real(kind=R8P) | in | optional | Label angle [deg, counterclockwise], gnuplot rotate by. |
justify | character(len=*) | in | optional | Rotated label justification: left, right, center. |
Call graph
unset_logscale
Linear scale on the axes named x, y, y2, cb; all axes when absent, as gnuplot.
subroutine unset_logscale(self, axes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
axes | character(len=*) | in | optional | Axes names, e.g. y, xy or y2. |
Call graph
unset_multiplot
Back to a single panel, keeping the settings of the current one without its series.
subroutine unset_multiplot(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
unset_xtics
No x ticks, tick labels nor grid lines, as gnuplot unset xtics; autoscaled ends are then not extended.
subroutine unset_xtics(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
unset_ytics
No y ticks, tick labels nor grid lines, as gnuplot unset ytics; autoscaled ends are then not extended.
subroutine unset_ytics(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
unset_y2tics
No second y axis ticks nor tick labels, the default, as gnuplot unset y2tics.
subroutine unset_y2tics(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
unset_x2tics
No second x axis ticks nor tick labels, the default, as gnuplot unset x2tics.
subroutine unset_x2tics(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
environment_theme
The theme named by the environment variable FORESIGHT_THEME (see foresight_theme), as gnuplot's GNUTERM names a default terminal: for a fresh figure, unless a theme was set; an unknown name is ignored.
subroutine environment_theme(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
ensure_panels
Allocate the single default panel of a fresh figure.
subroutine ensure_panels(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. |
Call graph
render
Render the figure on backend, writing file: the multiplot title on top, panels in grid cells of a layout or else in their origin/size boxes; in a multiplot the panels never plotted stay blank, as in gnuplot. Line start. Line end. Line counter. Title font size [px] (a text device: the page's).
Title band [page fraction]. Character counter.
Panel margins. Panel margins at screen fractions.
subroutine render(self, backend, file)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(figure_object) | inout | Figure. | |
backend | class(backend_object) | inout | Output device. | |
file | character(len=*) | in | Output file. |
Call graph
set_tics
Fixed ticks from real settings, or automatic ones without step; invalid settings stop. mirror alone (no step, start, end) keeps the tick positions, as gnuplot set xtics nomirror, turning off ticks on at their last positions. positions is an explicit list (gnuplot set xtics ("label" pos level, ...)), with labels (each printed as written, a format if it has a conversion; the axis labels without them) and minor (level 1); add adds the list to the ticks, or a step to the list, instead of replacing them. rotate turns the labels by that angle [deg, counterclockwise; 0 upright], justify (left, right, center) anchors them (left by default, gnuplot rotate by), out points the ticks outward; alone, like mirror, they keep the positions.
subroutine set_tics(tics, caller, step, start, end, mirror, positions, labels, minor, add, rotate, justify, out)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
tics | type(tics_object) | inout | Axis tick settings. | |
caller | character(len=*) | in | Procedure name, for messages. | |
step | real(kind=R8P) | in | optional | Tick step. |
start | real(kind=R8P) | in | optional | First tick. |
end | real(kind=R8P) | in | optional | Last tick. |
mirror | logical | in | optional | Ticks also on the opposite border. |
positions | real(kind=R8P) | in | optional | Explicit list positions. |
labels | character(len=*) | in | optional | Explicit list labels. |
minor | logical | in | optional | Explicit list minor ticks. |
add | logical | in | optional | Add to the ticks. |
rotate | real(kind=R8P) | in | optional | Label angle [deg, counterclockwise]. |
justify | character(len=*) | in | optional | Rotated label justification. |
out | logical | in | optional | Ticks outward. |
Call graph
Functions
wall_polygon
Grid wall k (y0, x0, y1, x1, z0) with gnuplot's default style and the options: a module procedure, not an internal one of set_wall (nvfortran 26.9 corrupted the figure through one).
Returns: type(shape_object)
function wall_polygon(k, fc, fs, lw) result(obj)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
k | integer(kind=I4P) | in | Wall. | |
fc | character(len=*) | in | optional | Fill color. |
fs | character(len=*) | in | optional | Fill style words. |
lw | real(kind=R8P) | in | optional | Border width [px]. |
Call graph
place
The position (x, y) in system (first when absent; one word for both coordinates, or two: x then y); unknown systems stop.
Returns: type(place_object)
function place(x, y, system, caller) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
x | real(kind=R8P) | in | Abscissa. | |
y | real(kind=R8P) | in | Ordinate. | |
system | character(len=*) | in | optional | Coordinate systems. |
caller | character(len=*) | in | Procedure name, for messages. |
Call graph
which_axes
Axes named in axes (x, y, y2, cb, x2, concatenated), all when absent; unsupported names stop.
Returns: logical
function which_axes(axes, caller) result(named)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
axes | character(len=*) | in | optional | Axes names. |
caller | character(len=*) | in | Procedure name, for messages. |
Call graph
extension
Lower case extension of file, empty if none.
Attributes: pure
Returns: character(len=:)
function extension(file) result(ext)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
file | character(len=*) | in | File name. |
Call graph
has_region
Whether the key position words name a region (inside, outside, a margin, below, above): they cancel set key at, as gnuplot.
Attributes: pure
Returns: logical
function has_region(words) result(has)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
words | character(len=*) | in | Position words. |
Call graph