X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Jan 2014 12:48 PM by  anon
Plotting a symbol on a logged scale
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:10
New Member


--
15 Jan 2014 12:48 PM
    Hello, I am having problems overplotting a symbol on a plot that has a logged axis. For example, when I use the commands below, the symbols are not placed in the appropriate position (I tried uploading my example plot, but I received a permissions error). I would like to put a symbol at the [2,2] position, but that particular symbol is outside of the graphics domain. It is also unclear why the 0.1, 0.2 & 0.5 symbols are on the plot when they are not within the X and Y range of the plot. Will you please tell me what I am doing wrong in the code and how to get the symbols in the correct locations. This is not a problem when both axes are not logged, but it is a problem when only one axis is logged. P = PLOT(FINDGEN(10),FINDGEN(10),/XLOG,/YLOG) S = SYMBOL([0.1,0.2,0.5,1,2], [0.1,0.2,0.5,1,2], 'SQUARE', /DATA,SYM_COLOR=['RED','BLUE','YELLOW','PURPLE','ORANGE'], /SYM_FILLED) Thank you, KH

    Deleted User



    New Member


    Posts:
    New Member


    --
    17 Jan 2014 09:16 AM
    Hi Kimberly, We have noticed the same and we have created a Bug Report on this issue. Please, don't hesitate asking about the status of that bug. I will see if I can find a workaround. Cheers, Fernando

    Deleted User



    New Member


    Posts:10
    New Member


    --
    21 Jan 2014 10:26 AM
    Thank you for reporting the bug. The work around I came up with was to duplicate the position of the symbol in data units and use the PLOT command instead of symbol. Kim

    Deleted User



    New Member


    Posts:
    New Member


    --
    21 Jan 2014 02:25 PM
    Hi Kim, Thank you for letting me know the workaround, it sounds good to me!. cheers, fernando
    You are not authorized to post a reply.