Questions tagged [plots.jl]

Plotting interface and wrapper for several julia plotting packages

Useful links

205 questions
0
votes
0 answers

Animating while loop using @animate macro

Is it possible to use the @animate macro with while loops? Documentation here in the case of for loops: https://docs.juliaplots.org/latest/animations/
Econ
  • 1,075
  • 1
  • 8
  • 13
0
votes
1 answer

Issue with Plotly() in Julia

I am using Julia for potting. I do the following: img = load("/Users/xxxx/xxxx/xxxx-xxxx.png") plot!(img) plot!(x_coordinate_holder, y_coordinate_holder, color = :black, linewidth=0.4) However when I add plotly() before the above code, it opens…
logankilpatrick
  • 13,148
  • 7
  • 44
  • 125
0
votes
1 answer

How to plot on a background image in Julia using Plots()

I am trying to overlay a basic plot onto an image. It is not clear based on the Julia Docs: http://docs.juliaplots.org/latest/examples/pyplot/ How can I plot on an image? Here is my code in Julia: using Plots x_coordinate_holder = [30515.4,…
logankilpatrick
  • 13,148
  • 7
  • 44
  • 125
0
votes
0 answers

Julia - Parallelizing an animate loop

I want to make an @animate for loop work in parallel, usually when I work with parallel I use (@sync )@parallel for, but it won't work for an animate loop as both macros try to detect the for keyword after. So is there a way to do it with just…
zivo
  • 120
  • 8
0
votes
1 answer

Make Plots using plotly backend in Julia Static

I am creating math questions with geometric components such as triangles and rectangles and think plotly would be a nice lightweight mechanism for creating these plots. But I need these plots to be static (non-interactive). I assume I can save them…
Francis Smart
  • 3,875
  • 6
  • 32
  • 58
0
votes
1 answer

Plotting in Julia -- Pyplots backend with Plots.jl

I'm trying to show a figure in a window like Matlab figures ot matplotlib figures in Python. I am using the Plots.jl package with the Pyplot backend. I can save my plots as svg or png files, but i do not know ho to show them interactively using…
inarighas
  • 720
  • 5
  • 24
0
votes
1 answer

Plots.jl: plots inside for cycle

I am using Plots.jl with the GR backend. For whatever, I cannot seem to be able to plot! inside a for-loop: using Plots fn(m,x) = m*x plot([0, 10], [fn(1, 0), fn(1, 10)]) for m in 2:4 plot!([0, 10], [fn(m, 0), fn(m, 10)]) end Oddly enough, the…
Ricardo Magalhães Cruz
  • 3,504
  • 6
  • 33
  • 57
0
votes
0 answers

Julia: Atom, Plots.jl, and plotlyjs() - window scaling issue

I am using Plots.jl with plotlyjs(). Whenever I use it within atom, the plot does not scale to the window (see picture). Is that a known issue or is there a fix for it? Thanks a lot!
phymics
  • 39
  • 3
0
votes
1 answer

Julia: GLM plot logit function

I am working with a lot of data an just calculated a logistic regression using glm in julia. What I do is to check different effects on the job finding rate, which I have as 0 or 1. Now I would like to plot my results. I have the gilman/hill book…
DoubleBass
  • 107
  • 1
  • 7
0
votes
1 answer

How to shrink colorbar of heatmap()?

Code below produced too large colorbar compared to the heatmap itself. I didn't find a way to shrink the color bar. See the image: too large colorbar heatmap(z,aspect_ratio=1) plot!(colorbar=true)
Baodheus
  • 1
  • 3
1 2 3
13
14