|
Re: Combined wavelet and cgImage question (and problem) [message #81604 is a reply to message #81601] |
Sat, 06 October 2012 12:00   |
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  |
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.")
|
|
|