3D plots with Julia

482 views
Skip to first unread message

Tim K

unread,
Oct 1, 2014, 11:58:34 AM10/1/14
to julia...@googlegroups.com
Hi All,

I am wondering if there is an equivalent to something like Matlab's "plot3" command?

I am trying to switch to Julia, but this is an early stumbling block.

Cheers,

Tim.

Viral Shah

unread,
Oct 1, 2014, 1:26:36 PM10/1/14
to julia...@googlegroups.com
Not right out of the box yet, but I hear that 3d support will be coming in Gadfly. Someone else who knows more should comment.

Until then, this may be a starting point perhaps.

-viral

Isaiah Norton

unread,
Oct 1, 2014, 1:37:53 PM10/1/14
to julia...@googlegroups.com
Surface plots are also available via PyPlot.jl (using matplotlib).

Steven G. Johnson

unread,
Oct 1, 2014, 2:29:56 PM10/1/14
to julia...@googlegroups.com


On Wednesday, October 1, 2014 11:58:34 AM UTC-4, Tim K wrote:
Hi All,

I am wondering if there is an equivalent to something like Matlab's "plot3" command?

Yes, PyPlot (a wrapper for Python's Matplotlib) has a plot3d(x,y,z) command that is similar in spirit to Matlab's plot3.

Tim K

unread,
Oct 1, 2014, 2:40:15 PM10/1/14
to julia...@googlegroups.com
Great!

Thanks All.

Viral Shah

unread,
Oct 1, 2014, 2:47:50 PM10/1/14
to julia...@googlegroups.com
Of course! PyPlot.jl is the way to go.

-viral

Miguel Bazdresch

unread,
Oct 1, 2014, 3:11:51 PM10/1/14
to julia...@googlegroups.com
Gaston can also do 3D plots. The docs are here: https://bitbucket.org/mbaz/gaston/downloads/gastondoc-0.5.5.pdf

Having said that, PyPlot.jl is probably the way to go, unless you really like gnuplot.

-- mb
Reply all
Reply to author
Forward
0 new messages