class SVG::Plot

Defined in:

plot2d.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(svg : SVG) #

[View source]

Class Method Detail

def self.colors #

[View source]
def self.linestyles #

[View source]
def self.mapxcoords(x, minx, maxx, w, padleft, padright, log) #

[View source]
def self.mapycoords(y, miny, maxy, h, padtop, padbottom, log) #

[View source]
def self.markers #

[View source]

Instance Method Detail

def axcolor : String #

[View source]
def axcolor=(axcolor : String) #

[View source]
def axes(minx = @minx, maxx = @maxx, miny = @miny, maxy = @maxy, xlog = false, ylog = false) #

[View source]
def axlabelfontsize : Int32 #

[View source]
def axlabelfontsize=(axlabelfontsize : Int32) #

[View source]
def axlabelstrokewidth : Float64 #

[View source]
def axlabelstrokewidth=(axlabelstrokewidth : Float64) #

[View source]
def axlinewidth : Int32 #

[View source]
def axlinewidth=(axlinewidth : Int32) #

[View source]
def colors : Array(String) #

[View source]
def colors=(colors : Array(String)) #

[View source]
def labels : Array(String) #

[View source]
def labels=(labels : Array(String)) #

[View source]
def legend #

[View source]
def legendbgcolor : String #

[View source]
def legendbgcolor=(legendbgcolor : String) #

[View source]
def legendbgopacity : Float64 #

[View source]
def legendbgopacity=(legendbgopacity : Float64) #

[View source]
def legendfgcolor : String #

[View source]
def legendfgcolor=(legendfgcolor : String) #

[View source]
def legendfontsize : Int32 #

[View source]
def legendfontsize=(legendfontsize : Int32) #

[View source]
def legendheight : Int32 #

[View source]
def legendheight=(legendheight : Int32) #

[View source]
def legendlinelen : Int32 #

[View source]
def legendlinelen=(legendlinelen : Int32) #

[View source]
def legendpad : Int32 #

[View source]
def legendpad=(legendpad : Int32) #

[View source]
def linestyle(style) #

[View source]
def linestyles : Array(String) #

[View source]
def linestyles=(linestyles : Array(String)) #

[View source]
def linewidth : Int32 #

[View source]
def linewidth=(linewidth : Int32) #

[View source]
def map_and_zip(xraw, yraw, minx, maxx, miny, maxy, xlog, ylog) #

[View source]
def marker(marker, x, y, val, ms = @markersize) #

[View source]
def marker_circle(t, val = "") #

[View source]
def marker_diamond(t, val = "") #

[View source]
def marker_hexagon(t, val = "") #

[View source]
def marker_octagon(t, val = "") #

[View source]
def marker_pentagon(t, val = "") #

[View source]
def marker_pixel(t, val = "") #

[View source]
def marker_plus(t, width, val = "") #

[View source]
def marker_point(t, val = "") #

[View source]
def marker_square(t, val = "") #

[View source]
def marker_star(t, val = "") #

[View source]
def marker_tri(t, val = "") #

[View source]
def marker_triangle(t, val = "") #

[View source]
def markernum : Int32 #

[View source]
def markernum=(markernum : Int32) #

[View source]
def markers : Array(String) #

[View source]
def markers=(markers : Array(String)) #

[View source]
def markersize : Int32 #

[View source]
def markersize=(markersize : Int32) #

[View source]
def maxx : Float64 #

[View source]
def maxx=(maxx : Float64) #

[View source]
def maxy : Float64 #

[View source]
def maxy=(maxy : Float64) #

[View source]
def minmax(x, y, xlog = false, ylog = false) #

[View source]
def minx : Float64 #

[View source]
def minx=(minx : Float64) #

[View source]
def miny : Float64 #

[View source]
def miny=(miny : Float64) #

[View source]
def opacities : Array(Float64) #

[View source]
def opacities=(opacities : Array(Float64)) #

[View source]
def padbottom : Int32 #

[View source]
def padbottom=(padbottom : Int32) #

[View source]
def padleft : Int32 #

[View source]
def padleft=(padleft : Int32) #

[View source]
def padright : Int32 #

[View source]
def padright=(padright : Int32) #

[View source]
def padtop : Int32 #

[View source]
def padtop=(padtop : Int32) #

[View source]
def plot(xraw, yraw, minx = @minx, maxx = @maxx, miny = @miny, maxy = @maxy, label = nil, color = nil, marker = nil, linestyle = nil, opacity = nil, xlog = false, ylog = false) #

[View source]
def scatter(xraw, yraw, minx = @minx, maxx = @maxx, miny = @miny, maxy = @maxy, label = nil, color = nil, marker = nil, opacity = nil, xlog = false, ylog = false, **args) #

[View source]
def set_plot_style(label, color, marker, linestyle, opacity) #

[View source]
def ticksfontsize : Int32 #

[View source]
def ticksfontsize=(ticksfontsize : Int32) #

[View source]
def tickslen : Int32 #

[View source]
def tickslen=(tickslen : Int32) #

[View source]
def ticksnum : Int32 #

[View source]
def ticksnum=(ticksnum : Int32) #

[View source]
def ticksstrokewidth : Float64 #

[View source]
def ticksstrokewidth=(ticksstrokewidth : Float64) #

[View source]
def tickstextlen : Int32 #

[View source]
def tickstextlen=(tickstextlen : Int32) #

[View source]
def title #

[View source]
def title=(title : String) #

[View source]
def titlefontsize : Int32 #

[View source]
def titlefontsize=(titlefontsize : Int32) #

[View source]
def xaxis(min = @minx, max = @maxx, log = log) #

[View source]
def xlabel : String #

[View source]
def xlabel=(xlabel : String) #

[View source]
def yaxis(min = @miny, max = @maxy, log = false) #

[View source]
def ylabel : String #

[View source]
def ylabel=(ylabel : String) #

[View source]