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

Home » Public Forums » archive » Re: colour + nice fonts
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: colour + nice fonts [message #43966 is a reply to message #43965] Mon, 09 May 2005 07:41 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Margrethe writes:

> I'm trying to create a nice-looking colour plot as jpg for my
> presentation.
> Following various advice, I first make the plot twice as big as I want
> it and thereafter use tvrd and tvimage to display it half the original
> size so that the plotting symbols, numbers and characters appear nice
> and smooth. But the color information is lost! Any idea how I can
> solve this?
> Help is very much appreciated!
>
> set_plot,'x'
> window,xsize=1200,ysize=1200
> !p.font=1
> device,set_font='Helvetica',/TT_font
>
> [plotting...]
>
> im=tvrd( )
> window,1,xsize=600,ysize=600
> tvimage,rebin(im,600,600) <---- greyscale :-(

Wrong TVRD. Try TVREAD:

http://www.dfanning.com/programs/tvread.pro

Or, use that TRUE keyword. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: colour + nice fonts
Next Topic: map MODIS HDF data to Mercator conformal projection

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

Current Time: Sat Oct 11 10:42:16 PDT 2025

Total time taken to generate the page: 0.39946 seconds