Welcome to iraf.net Tuesday, May 21 2024 @ 03:48 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 2 images in implot
   
cosmologist
 02/24/2011 05:43PM (Read 4647 times)  
++++-
Regular Member

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:Surprised! 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?

 
Profile Email
 Quote
valdes
 02/24/2011 05:43PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
The steps are:

       
      Profile Email
       Quote
      cosmologist
       02/24/2011 05:43PM  
      ++++-
      Regular Member

      Status: offline


      Registered: 03/30/2009
      Posts: 117
      [quote:8f8c23c6b1="valdes"]The steps are:

             
            Profile Email
             Quote
            valdes
             02/24/2011 05:43PM  
            +++++
            Active Member

            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

             
            Profile Email
             Quote
            cosmologist
             02/24/2011 05:43PM  
            ++++-
            Regular Member

            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 Frown

             
            Profile Email
             Quote
            valdes
             02/24/2011 05:43PM  
            +++++
            Active Member

            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

             
            Profile Email
             Quote
            cosmologist
             02/24/2011 05:43PM  
            ++++-
            Regular Member

            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 Surprised! 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 Surprised!)

             
            Profile Email
             Quote
            valdes
             02/24/2011 05:43PM  
            +++++
            Active Member

            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]

             
            Profile Email
             Quote
            cosmologist
             02/24/2011 05:43PM  
            ++++-
            Regular Member

            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 Smile

             
            Profile Email
             Quote
               
            Content generated in: 0.25 seconds
            New Topic Post Reply

            Normal Topic Normal Topic
            Sticky Topic Sticky Topic
            Locked Topic Locked Topic
            New Post New Post
            Sticky Topic W/ New Post Sticky Topic W/ New Post
            Locked Topic W/ New Post Locked Topic W/ New Post
            View Anonymous Posts 
            Anonymous users can post 
            Filtered HTML Allowed 
            Censored Content 
            dog allergies remedies cialis 20 mg chilblain remedies


            Privacy Policy
            Terms of Use

            User Functions

            Login