[metapost] problems with memory in metapost
yogeshwarsing.calleecharan at ltu.se
Fri May 7 09:54:47 CEST 2010
It's a bifurcation diagram (usually used in nonlinear dynamics) and
it's important to have such level of details. I agree that the resulting
eps file will be huge.
I'm dividing a parameter range into about 2000 values and for each of
the 2000 values on the x-axis there's a corresponding 100 values on the
yaxis. What I did was to modify the vector with the 2000 values to
extend it to 2000 X 1000 = 200,000. So I get two vectors of length 200k
each for the x-and y-axis respectively. I have actually twp 189,200
vectors as some values needed to be skipped.
On 5/7/2010 9:43 AM, Petr Kalinin wrote:
> YC> The file from which I'm
> YC> plotting has two columns of 189,200 values each.
> Do you really need to plot all these 200 000 points? I guess you will
> not distinguish neighbour points. Even if you get through mp, you will
> gen a very big eps file, which will not be useful for anu
> futher-processing. I guess you do not need it.
> In a similar situation (but data files up to 100Mb) I used to plot
> "every 1000" when I wanted to see the whole picture; this allowed to
> decrease the number of points without decreasing the quality of
> (Obviously, the output will not show all the fine
> details of the picture on big scaling, but anyway plotting the whole
> picture and then scaling it is a rather expensive way
> to see all the details. If you need details, you can use specify the
> range in gnuplot's plot command, to plot only a particular part)
More information about the metapost