cosmologist |
02/24/2011 05:43PM (Read 4647 times)
|
|
|
Status: offline
Registered: 03/30/2009
Posts: 117
|
How can I overplot two images using implot?For example with splot I can do on the graph window: image_nameIs there something similar for implot?I tried from the implot help page: o overplot next vectorbut is not what I want....
Any suggestion?
|
|
|
|
valdes |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 11/11/2005
Posts: 728
|
|
|
|
|
cosmologist |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 03/30/2009
Posts: 117
|
[quote:8f8c23c6b1="valdes"]The steps are:
|
|
|
|
valdes |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 11/11/2005
Posts: 728
|
I should have said "colon i <image name>". Note I am writing colon to avoid the smilely interpretation (smile). the command is reallly something like[quote:510c48ea7c]:i abc.fits[/quote:510c48ea7c]If you only do the 'i' then it does think you mean the current image.Frank
|
|
|
|
cosmologist |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 03/30/2009
Posts: 117
|
[quote:9461bfdba0="valdes"]I should have said "colon i <image name>". Note I am writing colon to avoid the smilely interpretation (smile). the command is reallly something like[quote:9461bfdba0]:i abc.fits[/quote:9461bfdba0]If you only do the 'i' then it does think you mean the current image.Frank[/quote:9461bfdba0]Yes, that's what I did, I don't know why it is not working
|
|
|
|
valdes |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 11/11/2005
Posts: 728
|
Hmm...Do you see the cursor and do you see the colon command being typed? I am wondering if there is a "click-to-focus" problem where you are not really typing into the task. This seems unlikely. Oh ?? If the image you are overplotting is at a different count level then you might not see anything. When you overplot it does not automatically rescale to show you both. So you can use the :y command to set the scale or, if the second image has a bigger dynamic range that covers the first image then reverse the order of the images. There is no way to get the overplot to automatically scale so you see both at once.You can check if this is happening by not typing 'o' before the line/column for the second image and then you should just see the second image vector.Frank
|
|
|
|
cosmologist |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 03/30/2009
Posts: 117
|
[quote:4ab12c5a36="valdes"]Hmm...Do you see the cursor and do you see the colon command being typed? I am wondering if there is a "click-to-focus" problem where you are not really typing into the task. This seems unlikely. Oh ?? If the image you are overplotting is at a different count level then you might not see anything. When you overplot it does not automatically rescale to show you both. So you can use the :y command to set the scale or, if the second image has a bigger dynamic range that covers the first image then reverse the order of the images. There is no way to get the overplot to automatically scale so you see both at once.You can check if this is happening by not typing 'o' before the line/column for the second image and then you should just see the second image vector.Frank[/quote:4ab12c5a36]what I am plotting is 2 zero*.fits images, I see the :i zero1002.fits being typed in the graph window (with yellow highlight) ... but actually I didn't add the part or the :l part, because if I do :i zero1002.fits :l 359 I get the error message: cannot plot zero1002.fits :l 359 !! (or cannot plot zero1002.fits )
|
|
|
|
valdes |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 11/11/2005
Posts: 728
|
The overplot command is [u:e4bed754f2]not[/u:e4bed754f2] a colon command. It is simply the keystroke o when you have the cursor. So typing literally:[code:1:e4bed754f2]
cl> implot image1
:l 100
:i image2
o
:l 100
q
cl>
[/code:1:e4bed754f2]
|
|
|
|
cosmologist |
02/24/2011 05:43PM
|
|
|
Status: offline
Registered: 03/30/2009
Posts: 117
|
[quote:c174399181="valdes"]The overplot command is [u:c174399181]not[/u:c174399181] a colon command. It is simply the keystroke o when you have the cursor. So typing literally:[code:1:c174399181]
cl> implot image1
:l 100
:i image2
o
:l 100
q
cl>
[/code:1:c174399181][/quote:c174399181]
Thanks!
It worked
|
|
|
|