[scilab-Users] plot efficiency
Mathieu Dubois
mathieu.dubois at limsi.fr
Sun Oct 24 21:58:36 CEST 2010
Hi Peng
Le 24/10/2010 21:12, Peng Du a écrit :
> Hi everyone.
>
> I have a question about how to plot efficiently.
>
> My scilab program reads data from a file containing 16 columns. Each
> column represents the data for a polyline. So what I have been doing so
> far is to build 16 separate arrays and plot them in one graph. However
> as the size of the file grows, sometimes up to several GBs, it started
> to take a very long time to finish and finally I got the error message
> of exceeded stack size. Does anyone know how I can work around this?
I don't think that problem comes from plot but rather from your data
reading function.
To increase the stack size, you can use stacksize (see help("stacksize")).
By the way if you call plot2d with a matrix it will plot a polyline for
each column on the same graph.
HTH,
Mathieu
More information about the users
mailing list