Displaying 2 results from an estimated 2 matches for "pm3d".
Did you mean:
em3d
2011 Aug 03
1
one way to solve bad looking density plots in postscript
...ms that using the option useRaster=T in image() solved this problem, but creates other problems for OSX's Preview (it seems that OSX's preview first anti-aliases the raster, and then scales it... creating a mess).
Density plots produced by gnuplot do not seem to have this problem:
---
set pm3d map
set pm3d at b
set ticslevel 0.8
set isosample 40,40
set output "gtest.eps"
set term postscript eps color
splot [-3:3] [-3:3] x*x*exp(-x*x)*y*y*exp(-y*y)
--
But I haven't figured out why that is. Maybe someone who understands more about postscript can. Maybe it is something about t...
2010 Mar 09
2
speed
...://thread.gmane.org/gmane.comp.mathematics.maxima.general/29949/focus=29968
for example :
f(x,y,n) :=
block([i:0, c:x+y*%i,ER:4,iMax:n,z:0],
while abs(z)<ER and i<iMax
do (z:z*z + c,i:i+1),
min(ER,abs(z)))$
wxanimate_draw3d(
n, 5,
enhanced3d=true,
user_preamble="set pm3d at b; set view map",
xu_grid=70,
yv_grid=70,
explicit('f(x,y,n), x, -2, 0.7, y, -1.2, 1.2))$
But it takes so long to make even one image ( hours)
What makes the difference, and why R so fast ?
Regards
Adam