JuliaPlotFunctions¶
jplot.spad line 1 [edit on github]
low level plotting functions using the Plots module from Julia.
- jlBar!: (JuliaFloat64Vector, JuliaFloat64Vector) -> Void
jlBar!(x,y)draws a bar plot ofyvsxon the existing graph object.
- jlBar: (JuliaFloat64Vector, JuliaFloat64Vector) -> 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!: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> 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: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> 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!: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> 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: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> Void
jlContourf(x,y,mat)draws the contour plot of surfacemat. Fill area between contours.
- jlCurves!: (JuliaFloat64Vector, JuliaFloat64Vector) -> 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: (JuliaFloat64Vector, JuliaFloat64Vector) -> 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!: JuliaFloat64Vector -> Void
jlDensity!(x)draws a line plot of a kernel density estimate ofxon the existing graph object.
- jlDensity: JuliaFloat64Vector -> 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!: (JuliaFloat64Vector, JuliaFloat64Vector) -> Void
jlPlot!(x,y)draws a plot using elements ofxandyon the existing graph object.
- jlPlot!: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Vector) -> 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: (JuliaFloat64Vector, JuliaFloat64Vector) -> Void
jlPlot(x,y)draws a plot using elements ofxandy.
- jlPlot: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Vector) -> 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 spadfunFromX{jlPlotTitle}{JuliaPlotFunctions} for more informations on the diffent supported formats.
- jlPlotXlims!: (JuliaFloat64, JuliaFloat64) -> Void
jlPlotXlims!(x1,x2)setsxplot limits.
- jlPlotYlabel!: String -> Void
jlPlotYlabel!(str)setsylabel. See spadfunFromX{jlPlotTitle}{JuliaPlotFunctions} for more informations on the diffent supported formats.
- jlPlotYlims!: (JuliaFloat64, JuliaFloat64) -> Void
jlPlotYlims!(y1,y2)setsyplot limits.
- jlPlotZlabel!: String -> Void
jlPlotZlabel!(str)setszlabel. See spadfunFromX{jlPlotTitle}{JuliaPlotFunctions} for more informations on the diffent supported formats.
- jlPlotZlims!: (JuliaFloat64, JuliaFloat64) -> Void
jlPlotZlims!(z1,z2)setszplot limits.
- jlRange: (Segment Float, PositiveInteger) -> JuliaFloat64Vector
jlRange(range, n)is a utility function that returns a JuliaFloat64Vector withnpoints fromlow(range)tohigh(range).
- jlRange: Segment Float -> JuliaFloat64Vector
jlRange(range)is a utility function that returns a JuliaFloat64Vector 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!: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> 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: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> 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!: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> 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: (JuliaFloat64Vector, JuliaFloat64Vector, JuliaFloat64Matrix) -> Void
jlWireframe(x,y,mat)draws the wireframe surface ofmat.