class

Cryplot::Plot3D

Inherits Cryplot::BasePlot / Reference / Object

Class used to create a 3D plot containing graphical elements

Constructors

Instance methods

box_width_absolute(val : Float64)

Set the default width of boxes in plots containing boxes (in absolute mode). In absolute mode, a unit width is equivalent to one unit of length along the x axis.

Source
box_width_relative(val : Float64)

Set the default width of boxes in plots containing boxes (in relative mode). In relative mode, a unit width is equivalent to setting the boxes side by side.

Source
draw_curve(name : String, xcol : String | Int32, ycol : String | Int32)

Draw a curve with given values at xcol and ycol columns in file name.

Source
draw_curve(x : X, y : Y, z : Z) : Draw forall X, Y, Z

Draw a curve with given x,y and z vectors.

Source
draw_curve_with_points(name : String, xcol : String | Int32, ycol : String | Int32)

Draw a curve with points with given values at xcol and ycol columns in file name.

Source
draw_curve_with_points(x : X, y : Y, z : Z) : Draw forall X, Y, Z

Draw a curve with points with given x,y and z vectors.

Source
draw_dots(name : String, xcol : String | Int32, ycol : String | Int32)

Draw dots with given values at xcol and ycol columns in file name.

Source
draw_dots(x, y, z)

Draw dots with given x, y and z vectors.

Source
draw_histogram(name : String, ycol : String | Int32)

Draw a histogram with given values at ycol column in file name.

Source
draw_histogram(y)

Draw a histogram for the given y vector.

Source
draw_impulses(name : String, xcol : String | Int32, ycol : String | Int32)

Draw impulses with given values at xcol and ycol columns in file name.

Source
draw_impulses(x, y, z)

Draw impulses with given x,y and z vectors.

Source
draw_points(name : String, xcol : String | Int32, ycol : String | Int32)

Draw points with given values at xcol and ycol columns in file name.

Source
draw_points(x, y, z)

Draw points with given x,y and z vectors.

Source
draw_surface(func : String)

Draw a 3D surface from a function string.

Source
draw_surface_mesh(x : X, y : Y, z : Z) : Draw forall X, Y, Z

Draw a 3D surface with mesh from x, y, z data.

Source
draw_with_cols(name : String, with_ : String, cols : Array(String | Int32))

Draw plot object with given style and given vectors (e.g., plot.draw("lines", x, y)).

Source
draw_with_vecs(with_ : String, x : X, *vecs : Array) : Draw forall X

Draw plot object with given style and given vectors (e.g., plot.draw("lines", x, y)).

Source
repr
Source
rtics_major

Return the specifications of the grid lines along minor rtics.

Source
rtics_minor

Return the specifications of the grid lines along minor rtics.

Source
style_histogram

an object that permits histogram style to be customized.

Source
tics

tics of the plot and return a reference to the corresponding specs object.

Source
to_s(io : IO) : Nil

convert this plot object into a gnuplot formatted string.

Source
xlabel(label : String)

Set the label of the x-axis and return a reference to the corresponding specs object.

Source
xlog(base : Int32 = 10)

Set the x-axis to logarithmic scale.

Source
xrange(min : StringOrFloat, max : StringOrFloat)

Set the x-range of the plot (also possible with empty values or autoscale options (e.g. "", "*")).

Source
xtics_major_bottom

Return the specifications of the grid lines along major xtics on the bottom axis.

Source
xtics_major_top

Return the specifications of the grid lines along major xtics on the top axis.

Source
xtics_minor_bottom

Return the specifications of the grid lines along minor xtics on the bottom axis.

Source
xtics_minor_top

Return the specifications of the grid lines along minor xtics on the top axis.

Source
xyzlog(base : Int32 = 10)

Set all axes to logarithmic scale.

Source
ylabel(label : String)

Set the label of the y-axis and return a reference to the corresponding specs object.

Source
ylog(base : Int32 = 10)

Set the y-axis to logarithmic scale.

Source
yrange(min : StringOrFloat, max : StringOrFloat)

Set the y-range of the plot (also possible with empty values or autoscale options (e.g. "", "*")).

Source
ytics_major_left

Return the specifications of the grid lines along major ytics on the left axis.

Source
ytics_major_right

Return the specifications of the grid lines along major ytics on the right axis.

Source
ytics_minor_left

Return the specifications of the grid lines along minor ytics on the left axis.

Source
ytics_minor_right

Return the specifications of the grid lines along minor ytics on the right axis.

Source
zlabel(label : String)

Set the label of the z-axis and return a reference to the corresponding specs object.

Source
zlog(base : Int32 = 10)

Set the z-axis to logarithmic scale.

Source
zrange(min : StringOrFloat, max : StringOrFloat)

Set the z-range of the plot (also possible with empty values or autoscale options (e.g. "", "*")).

Source
ztics_major

Return the specifications of the grid lines along major ztics.

Source
ztics_minor

Return the specifications of the grid lines along minor ztics.

Source