class

Cryplot::Figure

Inherits Reference / Object

Class used to create multiple plots in one canvas

Constructors

new(plots : MultiPlots)
Source

Instance methods

autoclean(enable : Bool)
Source
cleanup

Delete all files used to store plot data or scripts.

Source
font_name(name : String)

Set the font name for the plot (e.g., Helvetica, Georgia, Times).

Source
font_size(size : Int)

Set the font size for the plot (e.g., 10, 12, 16).

Source
palette(name : Cryplot::Palette)

Set the palette of the colors for the plot.

Source
save(filename : String)

Save the plots in a file, with its extension defining the file format. The extension of the file name determines the file format The supported formats are: pdf, eps, svg, png, and jpeg Thus, to save a plot in pdf format, choose a file as in plot.pdf. Note: This removes temporary files after saving if autoclean is enabled. default is enabled

Source
save_plot_data
Source
show

Show the plot in a popup-window Note: This removes temporary files after saving if autoclean is enabled. default is enabled

Source
size(width : Int, height : Int)

Set the size of the plot (in unit of points, with 1 inch = 72 points).

Source
title(text : String)
Source