draw2d image eps color



Edwin Woollett escribi?:
> How do I get color in an eps file using
> draw2d's image function?  code snippets:
> ---------------------------------
> 
>    im :  matrix([0.2,0.4,0.6,0.8,1.0],[0.16,0.32,0.48,0.64,0.8],
>               [0.12,0.24,0.36,0.48,0.6],[0.08,0.16,0.24,0.32,0.4],
>               [0.04,0.08,0.12,0.16,0.2])$
> 
>   draw2d( image(im,0,0,1,1)$ --> ok default color console graphics
> 
>   draw2d( image(im,0,0,1,1),
>          terminal = eps,
>          file_name = "case2" )$  --->  gray levels graphics   not ok
> 
> 
>   draw2d( image(im,0,0,1,1),
>          terminal = eps,
>          file_name = "case2" ,
>          palette = [1,3,8] )$  --->  same gray levels graphics  not ok

Use:

terminal = eps_color

? terminal

shows available terminals.

hth


-- 
Mario Rodriguez Riotorto
http://www.telefonica.net/web2/biomates