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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Combined wavelet and cgImage question (and problem) [message #81601] Sat, 06 October 2012 17:10 Go to next message
Balthasar Indermuehle is currently offline  Balthasar Indermuehle
Messages: 22
Registered: August 2012
Junior Member
Thanks David, as usual your shortest solutions are the best! Now if only I had an inkling what that wavelet transform returning to me... based a google search, that function either is completely self explanatory to everyone but me, or nobody uses it!

Cheers

- Balt
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 next 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.")
Re: Combined wavelet and cgImage question (and problem) [message #81700 is a reply to message #81601] Sat, 06 October 2012 18:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Balthasar Indermuehle writes:

> Thanks David, as usual your shortest solutions are the best! Now if only I had an inkling what that wavelet transform returning to me... based a google search, that function either is completely self explanatory to everyone but me, or nobody uses it!

You are the first person I ever heard about using it. ;-)

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Thu Oct 09 07:53:33 PDT 2025

Total time taken to generate the page: 0.00613 seconds