[julia-users] Re: Plotting with Julia versus Mathematica

2015-02-08 Thread Steven G. Johnson
On Thursday, February 5, 2015 at 10:41:23 AM UTC-8, Martin Johansson wrote: > > If you by "Density plot" refer to Mathematica's 'DensityPlot' than maybe > simply using contourf could be OK. Unfortunately I don't know much about > the plotting facilities in Julia (read: PyPlot). > You can use pc

[julia-users] Re: Plotting with Julia versus Mathematica

2015-02-05 Thread Martin Johansson
Oops, I forgot to say that you need to use .+ and .- to get "outer" addition and subtraction between X and Y (assuming they are defined as in your example), but I guess you figured that out since you got it working. If you by "Density plot" refer to Mathematica's 'DensityPlot' than maybe simply

[julia-users] Re: Plotting with Julia versus Mathematica

2015-02-05 Thread Giacomo Kresak
Yes, you right! Do you know how to get Density plots with Julia? GK On Thursday, February 5, 2015 at 2:16:37 PM UTC+1, Martin Johansson wrote: > > Hi! > > You need to add explicit .* between the parentheses (I guess you copied > the Mathematica code and forgot to add multiplication). That work

[julia-users] Re: Plotting with Julia versus Mathematica

2015-02-05 Thread Martin Johansson
Hi! You need to add explicit .* between the parentheses (I guess you copied the Mathematica code and forgot to add multiplication). That worked for me. Also, the (41253 .* l) part came out as 41253 .* "ell" (not "one") when I copied it, but that might be a browser problem on my end. //martin