Questions tagged [plots.jl]

Plotting interface and wrapper for several julia plotting packages

Useful links

205 questions
1
vote
1 answer

Julia Plots.gif load error when not run as root

OS: Mac OS 10.14.16; Julia Version: JuliaPro_v1.3.1-1 I am animating a plot in Julia and can not achieve the desired functionality of Plots.gif when I do not launch JuliaPro as root. I recently overcome an error in JuliaPro where I would get a…
Connor Fuhrman
  • 781
  • 6
  • 15
1
vote
1 answer

Define custom color_palette in Julia Plots package

I am currently using Plots package in Julia with pyplot as the backend. I can choose color_palette and make plots by pyplot(color_palette=:delta) Plots.plot(x, y) What is the syntax to define and use a custom color palette according to, for…
Jen-Feng Hsu
  • 161
  • 11
1
vote
1 answer

Plotting in julia: Lack of extensive and easily undestandable documentation?

As a physics major I am by no means good at coding but it suffices for modeling stuff. Plotting always ends up a beeing super annoying. It´s easy enough to look up stuff in the the Julia documentation if needed. With plotting it´s a totally…
1
vote
1 answer

Plotting many points in Julia

I am working on a project that calls for plotting of (x,y) points in the plane in Julia. So far, using Plots with pyplot backend in a Jupyter notebook, I have been able to plot a few million of points at a time with simple scatter() functions.…
Cptq
  • 113
  • 3
1
vote
0 answers

Regarding julia plots and plotly backend

I recently changed from julia 0.6.4 to 1.1.1 I have an issue with the julia plots package plotly() backend which was very nice in the 0.6.4 version as i could manipulate some aspects of the plot "live" (zoom, saving,..) I am ploting two same sized…
C. Alexander
  • 143
  • 1
  • 7
1
vote
1 answer

Plots.jl: How to play points and lines or two different series?

I want to plot 1:3 using points but 3:-1:1 using lines. How do I achieve this with Plots.jl?
xiaodai
  • 14,889
  • 18
  • 76
  • 140
1
vote
1 answer

Difference between using "gr()" via Plots and installing GR.jl package

I have installed the Plots.jl package and using "gr()" command. Then, I have come across GR.jl on https://gr-framework.org/julia.html I am confused what is the difference between the two. Could someone please cast insight into this? Thanks,
Julia O
  • 221
  • 2
  • 13
1
vote
1 answer

JuliaLang plot with large xtick label numbers is displayed with too many figures in scientific notation and malformed exponent

I am using Plots.jl with the default GR() plotting backend rather than pyplot from JuliaLang. The x-axis tick numbers are in the thousands and the series plot produced uses scientific notation wiki examples to display these numbers on the x-axis.…
Vass
  • 2,682
  • 13
  • 41
  • 60
1
vote
0 answers

Long Rotated x labels on the heatmap function in Julia Lang's Plots.jl is cut off from the figures, how to rescale?

I am using Julia Lang with the Plots.jl package to plot the values in a matrix with the heatmap function. Some of the variable names are quite long and cannot be shortened. The function will scale the figure to accommodate for the long names on the…
Vass
  • 2,682
  • 13
  • 41
  • 60
1
vote
0 answers

Logarithmic scale in a negative domain in Plots.jl

Consider this minimal example julia> using Plots julia> pyplot() julia> x = -100:0.01:100 julia> y = x julia> plot(x, y, xscale = :log10) This raises the following error: DomainError: log10 will only return a complex result if called with a…
dapias
  • 2,512
  • 3
  • 15
  • 23
1
vote
1 answer

How to overlay contour plots in Julia (using Plots with PyPlot backend)

I'm trying to overlay two contour plots in Julia using Plots with PyPlot backend. Is it possible, and, if so, how? An MWE could look something like this: using Plots pyplot() a = rand(50,50) b = rand(50,50) p1 = contour(a,seriescolor=:blues) p2 =…
1
vote
0 answers

label boxplot extreme points in julia using Plotly Backend

i'm plotting a boxplot using plotlyJS backend for Plots in Julia 0.6.2 And i'm trying to make it possible to show particular labels (strings) for the points that are extreme. (so we can identify them easily). check the image for further…
inarighas
  • 720
  • 5
  • 24
1
vote
1 answer

Issues on using Plots package in Julia

I'm trying to use Plots package in Julia but I get an error message I don't fully understand. Using a Jupyter notebook I followed the canonic way to install and use the package with: Pkg.add("Plots") using Plots But after then I got this error…
Alejandro Carrera
  • 513
  • 1
  • 4
  • 14
1
vote
0 answers

Log scale for contour plot in Plots.jl

Is it possible to use a log scale in a contour plot? The plot should look like contour(log10(data)), but with correct labelling of the colorbar.
gTcV
  • 2,446
  • 1
  • 15
  • 32
1
vote
2 answers

Is there a complete list of Plots.jl functions anywhere?

I noticed that this cool example from ExamplePlots.jl within the JuliaPlots repository uses many Plots.jl methods that are not mentioned in the documentation; for example, curve_points(), BezierCurve(), zip(), unzip(), and partialcircle(). This…
tparker
  • 689
  • 1
  • 6
  • 17