Petra Heijnen

125 Reputation

2 Badges

18 years, 201 days

MaplePrimes Activity


These are replies submitted by Petra Heijnen

The code below shows the (unwanted) behaviour:

This is in the file "runningmplfile.mw":

restart:
nr:=0:
read "savegif.mpl":


restart:
nr:=1:
read "savegif.mpl":

 

En this is in the file "savegif.mpl":

with(plots): with(plottools):

polygonlist:=[[0,0],[0,1],[1,1],[1,0]]:
pol:=polygon(polygonlist):

save polygonlist, cat("polygon",nr,".txt"):
plotsetup(gif, plotoutput=cat("plot",nr,".gif"));

print(display([pol])):
plotsetup(default):

 

The txt file is normally saved. No problem there. But the graphic "pol" is plotted on the screen, not in the gif-file. 

Thanks for helping me out. 

That's exactly what I needed. I never noticed this possibility, while I've used Maple for almost 20 years now. Thanks so much.

That's exactly what I needed. I never noticed this possibility, while I've used Maple for almost 20 years now. Thanks so much.

Thank you for the reply. In the mean time, I managed to find a solution using indeed listdensityplot, but it uses very much memory and is so slow. I don't need a picture with a high resolution or so. Can I make it a bit faster?

Thank you for the reply. In the mean time, I managed to find a solution using indeed listdensityplot, but it uses very much memory and is so slow. I don't need a picture with a high resolution or so. Can I make it a bit faster?

A search from the start here is good enough, since in a power-law distribution the probability to find small values is very large. So in general, the search stops at k=1 or 2.

 

A search from the start here is good enough, since in a power-law distribution the probability to find small values is very large. So in general, the search stops at k=1 or 2.

 

1 2 Page 2 of 2