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

Home » Public Forums » archive » Re: Combined wavelet and cgImage question (and problem)
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: Combined wavelet and cgImage question (and problem) [message #81604 is a reply to message #81601] Sat, 06 October 2012 12:00 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Balthasar Indermuehle writes:

> Secondly, I've spent several hours now trying various combinations of cgImage, cgPlot, cgAxis to get the axes on the wavelet plot to reflecting what's really there... and not just the axis value index number (as the /AXES option does). The one avenue that seems most promising is cgPlot with /nodata to set up the axes, then use cgImage to draw the picture data. But then I'd need the tick marks to face outside, but the tick_direction keyword is not supported
with plot, or axis or any other commands really. And what the hell is up with xa = axis('x'....) not being the same as axis, 'x'... they're apparently fundamentally different calls that don't support the same arguments?

Can't help you with the wavelet questions, but I'd display
the image like this:

IDL> cgimage, cgdemodata(7), xrange=[-180,180], yrange=[-90,90], $
axkeywords={ticklen:-0.025}, margin=0.1, /axes

You use XRANGE and YRANGE keywords to specify the data range,
AXES to display the axes, and AXKEYWORDS to pass a structure that
can configure the axes in any way you like, using the usual AXIS
keywords.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Combined wavelet and cgImage question (and problem)
Next Topic: Re: PlotS, Color

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

Current Time: Sat Oct 11 16:11:30 PDT 2025

Total time taken to generate the page: 1.12089 seconds