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

Home » Public Forums » archive » in plot_image how do we change the tick values
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: in plot_image how do we change the tick values [message #93545 is a reply to message #93495] Tue, 16 August 2016 21:53 Go to previous messageGo to previous message
jai is currently offline  jai
Messages: 1
Registered: August 2016
Junior Member
On Saturday, August 6, 2016 at 8:11:57 PM UTC+5:30, sin wrote:
> hello,
> I am using plot_image xaxis is shown as pixels but in order to change to arcsec how do we give the values in xaxis instead of the pixel values.
>
> pls help me in this regard.
>
> thanks

I assume you are plotting the image from a fits file with a header. The header contains the keyword CDELT1 and CDELT2 these are the scales to be used along X and Y respectively. you can do something like this

plot_image,image,scale=[index.cdelt1,index.cdelt2]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: volumes of contiguous areas that have range of values
Next Topic: IRC SERVER

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

Current Time: Wed Oct 08 17:53:06 PDT 2025

Total time taken to generate the page: 0.00445 seconds