comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: color plot in postscript
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: color plot in postscript [message #65672] Tue, 17 March 2009 08:13 Go to next message
David Fanning is currently offline  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 Go to previous messageGo to next message
mankoff is currently offline  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.
Re: color plot in postscript [message #65788 is a reply to message #65672] Thu, 19 March 2009 06:44 Go to previous message
matteo86bo is currently offline  matteo86bo
Messages: 3
Registered: March 2009
Junior Member
ah, thank you very much! this works!
anyway all the plot is colored... how can I color only the line and
not the axis?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Double precision
Next Topic: Writing BIG RGB GEOTIFF

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:21:49 PDT 2025

Total time taken to generate the page: 0.00411 seconds