Re: cgImage abscissa values in axis feature [message #88277 is a reply to message #88208] |
Mon, 07 April 2014 09:15   |
Petros Syntelis
Messages: 32 Registered: June 2013
|
Member |
|
|
How much i would like the good old "hitting the computer" could move a cable or something and fix the problem :p
This is the result of Help, /Device
IDL> help, /Device
Available Graphics Devices: CGM HP LJ NULL PCL PRINTER PS REGIS TEK X Z
Current graphics device: X
Server: X11.0, The X.Org Foundation, Release 11404000
Display Depth, Size: 24 bits, (1280,778)
Visual Class: TrueColor (4)
Bits Per RGB: 8 (8/8/8)
Physical Color Map Entries (Emulated / Actual): 256 / 256
Colormap: Private, 16777216 colors. Translation table: Enabled
Graphics pixels: Combined, Dither Method: Ordered
Write Mask: 16777215 (decimal) ffffff (hex)
Graphics Function: 3 (copy)
Current Font: <default>, Current TrueType Font: <default>
Default Backing Store: Req from Server.
and the idl version in 7.1.1
On Friday, March 28, 2014 5:45:55 PM UTC, Petros Syntelis wrote:
> Hi all (and mostly David),
>
>
>
> I find myself very often in need to put an image into a plot with axis that show some x and y abscissa values, like in the way we use the contour command,
>
> cgcontour, data, x,y
>
> In cgImage, i can do this by setting the limits xr=[min(x),max(x)], yr=[min(x),max(x)] in a plot.
>
> This works ok for uniform x,y but doesnot work for non uniform x,y.
>
> Also, if you want repeat this some times, its more trouble than to simply put the x,y abscissa values directly.
>
>
>
> Is there a way i can put x and y vectors as values for axis? And if not, would it be too much to ask for this feture in another version of cgImage?
>
>
>
> Cheers,
>
> Petros
|
|
|