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

Home » Public Forums » archive » Re: best image plotting routine
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: best image plotting routine [message #66462 is a reply to message #66452] Fri, 08 May 2009 03:36 Go to previous messageGo to previous message
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
liamgumley@gmail.com wrote:
> On May 8, 1:39 pm, "R.G. Stockwell" <noemai...@please.com> wrote:
>> I often use a simple contour command (with /fill) to plot an image,
>> however that is not practical for very large images with NANs in it.
>> One must use /cell, and that takes forever to render, and creates
>> 120mb postscript files.
>>
>> what is the best routine to use to create this plot of an image?
>> Note there are 2 requirements.
>>
>> 1) it must accept "all" graphics keywords.
>> - i use xtickformat to print julian days for instance, ytickv, ytickname,
>> log axis, etc
>>
>> 2) it must create scalable and small postscript files
>> - a bitmap into a postscript is not acceptable. the quality
>> is too low for publication.
> [stuff deleted]
>
> Download the PIP sample programs from
>
> http://gumley.com/PIP/Sample_Programs/PIP_programs.zip
>
> and try the following. First, create the plot onscreen:
>
> data = dist(32)
> imdisp, data, /axis, title='IMDISP TEST', $
> xtitle='X AXIS', xtickformat='(f6.1)', $
> /ylog, yrange=[0.1, 1000.0]
>
> then switch to Postscript and redo the image
>
> pson
> device, /helvetica
> imdisp, data, /axis, title='IMDISP TEST', $
> xtitle='X AXIS', xtickformat='(f6.1)', $
> /ylog, yrange=[0.1, 1000.0], font=0
> psoff
>
> Note the font=0 keyword to use the device font. If you are using a Mac
> as previously discussed here, you might want to do something like this
> first:
>
> data = rebin(data, 1024, 1024, /sample)
>
> Does the resulting PostScript file meet your needs?
>
> Liam.
> Practical IDL Programming
> http://www.gumley.com/
>

Hi Liam,

I tried but, strangely enough, can't see any text, neither on the screen nor on
the plot. This is with IDL Version 6.4 (linux x86_64 m64).

Regards,

Bringfried
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: pointer problems
Next Topic: Is there any progress about memory management in IDL?

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

Current Time: Wed Oct 08 19:34:23 PDT 2025

Total time taken to generate the page: 0.00383 seconds