[julia-users] Re: Plots with Plots

2016-06-28 Thread Henri Girard
Thanks, I am doing yin-yang but have problems to color, I want it red and grey : using Plots function h(x) if x<0 return sqrt(-x^2-2*x) else return -sqrt(-x^2+2*x) end end; x=linspace(-2,2) t=linspace(-pi/3,pi/3) f(x) = sqrt(4-x^2) g(x) = -sqrt(4-x^2); d=plot(h,

[julia-users] Re: Plots with Plots

2016-06-28 Thread Tom Breloff
Ok I don't think you need recipes for this... just a simple call to 'plot' with the attributes you want. See the "attributes" page of the docs for descriptions of what's available. On Tuesday, June 28, 2016, Henri Girard wrote: > Well... It's here I got your examples : >

[julia-users] Re: Plots with Plots

2016-06-28 Thread Henri Girard
Well... It's here I got your examples : https://github.com/tbreloff/ExamplePlots.jl/blob/master/notebooks/apply_recipe.ipynb I just wanted to try it... My next aim is to use ODE with plots to do my portrait phase and RLC from pyplot to Plots --pyplot-

[julia-users] Re: Plots with Plots

2016-06-28 Thread Tom Breloff
I think you must be looking at an old example? Can you tell me where you found it so I can update? '_apply_recipe' doesn't exist, and you shouldn't have to import it anyways. Let me know what your end goal is and I can help. I understand the docs need better organization. On Tuesday, June 28,

[julia-users] Re: Plots with Plots

2016-06-28 Thread Henri Girard
That's what I get,any help : Pkg.checkout("Plots") Pkg.checkout("PlotRecipes") using Plots, PlotRecipes pyplot() import Plots: _apply_recipe, KW immutable F f::Function end getf(f::F) = f.f WARNING: could not import Plots._apply_recipe into Main

[julia-users] Re: Plots with Plots

2016-06-24 Thread jw3126
Looks pretty awesome! On Friday, June 24, 2016 at 5:37:15 PM UTC+2, Tom Breloff wrote: > > I just uploaded the IJulia notebook which was my JuliaCon workshop: > https://github.com/tbreloff/ExamplePlots.jl/blob/master/notebooks/plotswithplots.ipynb > . > > You'll need to be on master or dev to