Subject: Colored postscript graphics in imaxima mode
From: 本田康晃
Date: Sat, 14 May 2011 18:20:46 +0900
Hi Mario san,
I also tried your patch and it worked fine. Would you please commit the fix,
please?
Yasuaki Honda
2011/5/13 Mario Rodriguez <biomates at telefonica.net>
> Hello,
>
> Colored surfaces in embedded graphics (wxdraw and wxdraw3d) in emacs +
> imaxima are always rendered in gray levels, since the current palette is
> ignored. The second image in this site is an example:
>
>
> http://sites.google.com/site/imaximaimath/tutorial-of-imaxima/tutorial-of-imaxima-inline-graph
>
>
>
>
> If in the definition of function $wxdraw (imaxima.lisp), we substitute
>
> ((mequal simp) $terminal $eps)
>
> by
>
> ((mequal simp) $terminal $eps_color)
>
> something like
>
> wxdraw3d(
> enhanced3d = [x-z/10,x,y,z],
> palette = [3,6,-16],
> explicit(20*exp(-x^2-y^2)-10,x,-3,3,y,-3,3))$
>
>
> should plot a colored surface. See screenshot:
>
> http://riotorto.users.sourceforge.net/gnuplot/func3d/emacs_color.png
>
> I'm an occasional user of emacs and I don't know if there is any special
> reason for using the eps terminal instead of eps_color. If not, I can commit
> this change.
>
> --
> Mario
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>