class Cryplot::Plot3D
- Cryplot::Plot3D
- Cryplot::BasePlot
- Reference
- Object
Overview
Class used to create a 3D plot containing graphical elements
Defined in:
plot/plot3d.crConstructors
Instance Method Summary
-
#box_width_absolute(val : Float64)
Set the default width of boxes in plots containing boxes (in absolute mode).
-
#box_width_relative(val : Float64)
Set the default width of boxes in plots containing boxes (in relative mode).
-
#draw_curve(name : String, xcol : String | Int32, ycol : String | Int32)
Draw a curve with given values at xcol and ycol columns in file name.
-
#draw_curve(x : X, y : Y, z : Z) : Draw forall X, Y, Z
Draw a curve with given x,y and z vectors.
-
#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.
-
#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.
-
#draw_dots(name : String, xcol : String | Int32, ycol : String | Int32)
Draw dots with given values at xcol and ycol columns in file name.
-
#draw_dots(x, y, z)
Draw dots with given x, y and z vectors.
-
#draw_histogram(name : String, ycol : String | Int32)
Draw a histogram with given values at ycol column in file name.
-
#draw_histogram(y)
Draw a histogram for the given y vector.
-
#draw_impulses(name : String, xcol : String | Int32, ycol : String | Int32)
Draw impulses with given values at xcol and ycol columns in file name.
-
#draw_impulses(x, y, z)
Draw impulses with given x,y and z vectors.
-
#draw_points(name : String, xcol : String | Int32, ycol : String | Int32)
Draw points with given values at xcol and ycol columns in file name.
-
#draw_points(x, y, z)
Draw points with given x,y and z vectors.
-
#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)
). -
#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)
). - #repr : String
-
#rtics_major : MajorTics
Return the specifications of the grid lines along minor rtics.
-
#rtics_minor : MinorTics
Return the specifications of the grid lines along minor rtics.
-
#style_histogram : HistogramStyle
an object that permits histogram style to be customized.
-
#tics : Tics
tics of the plot and return a reference to the corresponding specs object.
-
#to_s(io : IO) : Nil
convert this plot object into a gnuplot formatted string.
-
#xlabel(label : String)
Set the label of the x-axis and return a reference to the corresponding specs object.
-
#xrange(min : StringOrFloat, max : StringOrFloat)
Set the x-range of the plot (also possible with empty values or autoscale options (e.g.
-
#xtics_major_bottom : MajorTics
Return the specifications of the grid lines along major xtics on the bottom axis.
-
#xtics_major_top : MajorTics
Return the specifications of the grid lines along major xtics on the top axis.
-
#xtics_minor_bottom : MinorTics
Return the specifications of the grid lines along minor xtics on the bottom axis.
-
#xtics_minor_top : MinorTics
Return the specifications of the grid lines along minor xtics on the top axis.
-
#ylabel(label : String)
Set the label of the y-axis and return a reference to the corresponding specs object.
-
#yrange(min : StringOrFloat, max : StringOrFloat)
Set the y-range of the plot (also possible with empty values or autoscale options (e.g.
-
#ytics_major_left : MajorTics
Return the specifications of the grid lines along major ytics on the left axis.
-
#ytics_major_right : MajorTics
Return the specifications of the grid lines along major ytics on the right axis.
-
#ytics_minor_left : MinorTics
Return the specifications of the grid lines along minor ytics on the left axis.
-
#ytics_minor_right : MinorTics
Return the specifications of the grid lines along minor ytics on the right axis.
-
#zlabel(label : String)
Set the label of the z-axis and return a reference to the corresponding specs object.
-
#zrange(min : StringOrFloat, max : StringOrFloat)
Set the z-range of the plot (also possible with empty values or autoscale options (e.g.
-
#ztics_major : MajorTics
Return the specifications of the grid lines along major ztics.
-
#ztics_minor : MinorTics
Return the specifications of the grid lines along minor ztics.
Instance methods inherited from class Cryplot::BasePlot
autoclean(val : Bool)autoclean : Bool autoclean, autoclean=(autoclean : Bool) autoclean=, border : Border border, cleanup cleanup, clear clear, data_filename : String data_filename, draw(what : String, using : String, expr : String)
draw(using : String, expr : String) draw, font_name(name : String) font_name, font_size(size : Int) font_size, gnuplot(cmd : String) gnuplot, grid : Grid grid, legend : Legend legend, palette(name : Cryplot::Palette)
palette : Cryplot::Palette palette, palette=(palette : Cryplot::Palette) palette=, repr : String repr, samples(value : Int) samples, save(filename : String) save, save_plot_data save_plot_data, show show, size(width : Int, height : Int) size, style_fill : FillStyle style_fill, this this, title(text : String)
title : Title title, to_s(io : IO) : Nil to_s
Constructor methods inherited from class Cryplot::BasePlot
new
new
Constructor Detail
Instance Method Detail
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.
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.
Draw a curve with given values at xcol and ycol columns in file name.
Draw a curve with given x,y and z vectors.
Draw a curve with points with given values at xcol and ycol columns in file name.
Draw a curve with points with given x,y and z vectors.
Draw dots with given values at xcol and ycol columns in file name.
Draw a histogram with given values at ycol column in file name.
Draw impulses with given values at xcol and ycol columns in file name.
Draw points with given values at xcol and ycol columns in file name.
Draw plot object with given style and given vectors (e.g., plot.draw("lines", x, y)
).
Draw plot object with given style and given vectors (e.g., plot.draw("lines", x, y)
).
Return the specifications of the grid lines along minor rtics.
Return the specifications of the grid lines along minor rtics.
tics of the plot and return a reference to the corresponding specs object.
convert this plot object into a gnuplot formatted string.
Set the label of the x-axis and return a reference to the corresponding specs object.
Set the x-range of the plot (also possible with empty values or autoscale options (e.g. "", "*")).
Return the specifications of the grid lines along major xtics on the bottom axis.
Return the specifications of the grid lines along major xtics on the top axis.
Return the specifications of the grid lines along minor xtics on the bottom axis.
Return the specifications of the grid lines along minor xtics on the top axis.
Set the label of the y-axis and return a reference to the corresponding specs object.
Set the y-range of the plot (also possible with empty values or autoscale options (e.g. "", "*")).
Return the specifications of the grid lines along major ytics on the left axis.
Return the specifications of the grid lines along major ytics on the right axis.
Return the specifications of the grid lines along minor ytics on the left axis.
Return the specifications of the grid lines along minor ytics on the right axis.
Set the label of the z-axis and return a reference to the corresponding specs object.
Set the z-range of the plot (also possible with empty values or autoscale options (e.g. "", "*")).
Return the specifications of the grid lines along major ztics.
Return the specifications of the grid lines along minor ztics.