Yes you should probably use `collect`. With regards to plotting... can you post the pyplot code that generates the graph that you want? We may be able to either show you how to do it in julia, or it will help in future development by pinpointing a deficiency. Thanks.
On Sun, Sep 20, 2015 at 11:11 PM, Jan Strube <[email protected]> wrote: > I'm trying to write some data and axis definitions to HDF5 for later > plotting in pyplot. (Because I haven't figured out how to do lognorm on > pcolormesh in PyPlot.jl) > Writing the data - a 2D array - is no problem. > Writing the axes - linspace(min, max, 100) - doesn't work, because I just > found out that linspace creates a LinSpace object, not an array, and HDF5 > doesn't know how to write that. > My question is: What is an idiomatic way to turn LinSpace into an Array? > Is collect the recommended way to do this? > >
