X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Dec 2015 03:55 AM by  anon
Plot multiple crosshairs
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:20
New Member


--
07 Dec 2015 03:55 AM
    Hello! Is there a way to plot multiple crosshairs in one plot? I tried something like this: p=plot(array) c1=p.crosshair c1.location=[somex,somey] c2=p.crosshair c2.location=[otherx,othery] Unfortenately, this will only plot the last crosshair (i.e. c2). Is there a solution to plot both? Thanks in advance! Wouter

    Deleted User



    New Member


    Posts:
    New Member


    --
    07 Dec 2015 04:59 PM
    Wouter, It sounds like you may want to try using the Symbol Routine using the "+" symbol instead. Here is an example: p = PLOT(/TEST) s = SYMBOL(50, 0, '+', SYM_COLOR='Blue', SYM_SIZE=2, $ SYM_THICK=3, /DATA, LABEL_STRING='My star') s2 = SYMBOL(100, 0, '+', SYM_COLOR='Red', SYM_SIZE=2, $ SYM_THICK=3, /DATA, LABEL_STRING='My star') For more information see this link: http://www.exelisvis.com/docs/symbol.html Best Regards, -Lisa

    Deleted User



    New Member


    Posts:20
    New Member


    --
    10 Dec 2015 06:37 AM
    Hi lisa, Your solution turned out to be a nice work-around. So, thanks! Cheers, Wouter
    You are not authorized to post a reply.