Re: color plot in postscript [message #65672] |
Tue, 17 March 2009 08:13  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
matteo86bo writes:
> It is possible to have a color plot in ps format?
>
> set_plot, 'PS'
> device,file='fig5.ps',/color,bits_per_pixel=8
>
> loadct=13
> plot, ....., linestyle=0,color='50'
>
> this code doesn't work ... any suggestions?
Write better code. :-)
Try this:
Loadct, 13
plot, ..., color=50
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: color plot in postscript [message #65674 is a reply to message #65672] |
Tue, 17 March 2009 07:38   |
mankoff
Messages: 131 Registered: March 2004
|
Senior Member |
|
|
On Mar 17, 9:48 am, matteo86bo <m.tomasse...@gmail.com> wrote:
> hi everyone!
> It is possible to have a color plot in ps format?
>
> set_plot, 'PS'
> device,file='fig5.ps',/color,bits_per_pixel=8
>
> loadct=13
> plot, ....., linestyle=0,color='50'
>
> this code doesn't work ... any suggestions?
loadct=13 should be loadct, 13
-k.
|
|
|
|