Re: cgImage abscissa values in axis feature [message #88211 is a reply to message #88210] |
Fri, 28 March 2014 12:13   |
Petros Syntelis
Messages: 32 Registered: June 2013
|
Member |
|
|
Thanks for the quick reply David.
I was thinking more something like this:
Assume we have, x,y and data.
if we use
cgContour, data, x,y
we will get a plot with axis having the values of x,y
In cgImage, i was thinking like
cgImage, data, /axis, xabscissa=x, yabscissa=y
That would produce a similar result.
If somebody wants to plot many images with values on axis, this would be much faster and easier than
cgImage, data, /axis, xr=[min(x),max(x)], yr=[min(y),max(y)]
Cheers,
Petros
On Friday, March 28, 2014 6:29:22 PM UTC, David Fanning wrote:
> David Fanning writes:
>
>
>
>> Isn't the AXKEYWORDS keyword what you want? As far as I know you can
>
>> configure the axes anyway you like with this keyword.
>
>
>
> Or, if it is easier for you to use the cgContour or cgPlot commands,
>
> that is easy, too:
>
>
>
> cgImage, image, OPOSITION=opos, ...
>
> cgContour, image, /nodata, /noerase, Position=opos, ...
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|