JLPlotFunctions¶
jplot.spad line 1 [edit on github]
low level plotting functions using the Plots module from Julia.
- jlBar!: (JLFloat64Vector, JLFloat64Vector) -> Void
jlBar!(x,y)draws a bar plot ofyvsxon the existing graph object.
- jlBar: (JLFloat64Vector, JLFloat64Vector) -> Void
jlBar(x,y)draws a bar plot ofyvsx.
- jlContour!: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlContour!(f, a..b, c..d)draws the contour plot ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d)on the existing graph object.
- jlContour!: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlContour!(x,y,mat)draws the contour plot of surfacematon the existing graph object.
- jlContour: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlContour(f, a..b, c..d)draws the contour plot ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d).
- jlContour: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlContour(x,y,mat)draws the contour plot of surfacemat.
- jlContourf!: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlContourf!(f, a..b, c..d)draws the contour plot ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d)on the existing graph object. Fill area between contours.
- jlContourf!: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlContourf!(x,y,mat)draws the contour plot of surfacematon the existing graph object. Fill area between contours.
- jlContourf: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlContourf(f, a..b, c..d)draws the contour plot ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d). Fill area between contours.
- jlContourf: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlContourf(x,y,mat)draws the contour plot of surfacemat. Fill area between contours.
- jlCurves!: (JLFloat64Vector, JLFloat64Vector) -> Void
jlCurves!(x,y)draws a Bezier plot curve from (x.1,y.1) to (x.end,y.end) with control points (x.2,y.2),…, (x.end-1,y.end-1) and draws it on the existing graph object.
- jlCurves: (JLFloat64Vector, JLFloat64Vector) -> Void
jlCurves(x,y)draws a Bezier plot curve from (x.1,y.1) to (x.end,y.end) with control points (x.2,y.2),…, (x.end-1,y.end-1) and draws it.
- jlDensity!: JLFloat64Vector -> Void
jlDensity!(x)draws a line plot of a kernel density estimate ofxon the existing graph object.
- jlDensity: JLFloat64Vector -> Void
jlDensity(x)draws a line plot of a kernel density estimate ofx.
- jlPlot!: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlPlot!(f, a..b, c..d)adds the graph ofz = f(x, y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d)on the existing graph object.
- jlPlot!: (DoubleFloat -> DoubleFloat, Segment Float) -> Void
jlPlot!(f, a..b)adds the graph ofy = f(x)asxranges frommin(a, b)tomax(a, b)to the existing graph object.
- jlPlot!: (JLFloat64Vector, JLFloat64Vector) -> Void
jlPlot!(x,y)draws a plot using elements ofxandyon the existing graph object.
- jlPlot!: (JLFloat64Vector, JLFloat64Vector, JLFloat64Vector) -> Void
jlPlot!(x,y,z)draws a plot using elements ofx,yandzon the existing graph object.
- jlPlot: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlPlot(f, a..b, c..d)draws the graph ofz = f(x, y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d)
- jlPlot: (DoubleFloat -> DoubleFloat, Segment Float) -> Void
jlPlot(f, a..b)draws the graph ofy = f(x)asxranges frommin(a, b)tomax(a, b). For example: example{jlPlot(x+->sinc(x),-15..15)}
- jlPlot: (JLFloat64Vector, JLFloat64Vector) -> Void
jlPlot(x,y)draws a plot using elements ofxandy.
- jlPlot: (JLFloat64Vector, JLFloat64Vector, JLFloat64Vector) -> Void
jlPlot(x,y,z)draws a plot using elements ofx,yandz.
- jlPlotTitle!: String -> Void
jlPlotTitle!(title)draws title’ as plot ``title` in the current plot. For example: jlPlotTitle! “sin(x)” if you have the LaTeXStrings Julia package example{jlPlotTitle! jlLatex latex sin(x)} For simple expressionstitlewill automatically be enclosed betweek $. So use: example{jlPlotTitle! jlLatex “sin(x)”} For normal text and equations insert dollar signs $ as needed. example{jlPlotTitle! jlLatex “Plot: $sin(x)$”}
- jlPlotXlabel!: String -> Void
jlPlotXlabel!(str)setsxlabel. See jlPlotTitle for more informations on the diffent supported formats.
- jlPlotYlabel!: String -> Void
jlPlotYlabel!(str)setsylabel. See jlPlotTitle for more informations on the diffent supported formats.
- jlPlotZlabel!: String -> Void
jlPlotZlabel!(str)setszlabel. See jlPlotTitle for more informations on the diffent supported formats.
- jlRange: (Segment Float, PositiveInteger) -> JLFloat64Vector
jlRange(range, n)is a utility function that returns a JLFloat64Vector withnpoints fromlow(range)tohigh(range).
- jlRange: Segment Float -> JLFloat64Vector
jlRange(range)is a utility function that returns a JLFloat64Vector with 250 points fromlow(range)tohigh(range).
- jlSavePlot: String -> Void
jlSavePlot(file)save the current plot infile. Supported fomat by default:png(default),PDF,svgand more. See https://docs.juliaplots.org/latest/output/#savefig-/-format
- jlSurface!: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlSurface!(f, a..b, c..d)draws the surface ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d)on the existing graph object.
- jlSurface!: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlSurface!(x,y,mat)draws the plot surface ofmaton the existing graph object.
- jlSurface: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlSurface(f, a..b, c..d)draws the surface ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d).
- jlSurface: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlSurface(x,y,mat)draws the plot surface ofmat.
- jlWireframe!: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlWireframe!(f, a..b, c..d)draws add the wireframe ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d)on the existing graph object.
- jlWireframe!: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlWireframe!(x,y,mat)draws the wireframe surface ofmaton the existing graph object.
- jlWireframe: ((DoubleFloat, DoubleFloat) -> DoubleFloat, Segment Float, Segment Float) -> Void
jlWireframe(f, a..b, c..d)draws the wireframe ofy = f(x,y)asxranges frommin(a, b)tomax(a, b)andyranges frommin(c, d)tomax(c, d).
- jlWireframe: (JLFloat64Vector, JLFloat64Vector, JLFloat64Matrix) -> Void
jlWireframe(x,y,mat)draws the wireframe surface ofmat.