[Maxima] draw2d image eps color

Edwin Woollett woollett at charter.net
Wed Jun 4 11:45:48 CDT 2008


Mario Rodriguez, on Saturday, May 31, 2008 said

> Use:
> terminal = eps_color

Thanks, Mario, for reminding me of eps_color.
I have been using just terminal=eps for all other
draw2d plots, with good color output, so never bothered
with eps_color.

Using eps_color with the image function did restore color, but
has an additional editing behavior. I had sampled the expression
x*y at 25 points, with x in (0,1), y in (0,1), to form the matrix
passed to image(...).

This produces a very discrete looking "density plot" with both the
gnuplot console window and also the terminal=jpg case.

But terminal=eps_color appears to smooth its input, giving a very
smooth density plot with none of the discreteness which should have
appeared.

I basically gave up on both eps and eps_color, and  used cygwin's convert
function (convert case.jpg  case.eps ) to get an accurate eps file. This was
not a perfect solution, since there is a mysterious dotted line along the 
bottom(?).

Anyway, thanks for the suggestion. I am making good progress on my "qdraw"
graphics interface to draw2d and am trying to resist the temptation to 
include more
and more features(!).

Ted Woollett



More information about the Maxima mailing list