X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Aug 2010 04:52 PM by  anon
plot function, /ylog, and plot title
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
16 Aug 2010 04:52 PM
    Hi folks, I just installed IDL 8.0 and have been transferring over to the new PLOT function (as opposed to the old procedure). I am having a recurring problem when setting the axis to log scale and specifying a plot title. For example: IDL> x = findgen(100)+1 IDL> y = findgen(100)+1 IDL> p = plot(x,y) IDL> p.ylog=1 IDL> p.title='Test' ...produces a title "Test" in an odd location for me (far below the upper plot box boundary and in the middle of the data space). Anyone having similar troubles?

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 Aug 2010 12:41 PM
    Hi S_C, Thanks for the reply. I'm not having any trouble with labeling the x,y axes - it's the main plot title that appears wrong. The issue seems to be related to the use of /ylog. For example: IDL> x = findgen(100)+1 IDL> y = findgen(100)+1 IDL> p = plot(x,y,title='Test') ...sems to work just fine, in that "Test" is at the top of the plot just like it would be in the old plot routine. Now if I make the y-axis logged: IDL> p = plot(x,y,title='Test',/ylog) ...now test appears in an odd place (within the plot window). Not sure if this is an obvious bug or just something unique to my setup!

    Deleted User



    New Member


    Posts:1
    New Member


    --
    23 Mar 2011 12:40 PM
    I am having the same problem.

    Deleted User



    New Member


    Posts:
    New Member


    --
    23 Mar 2011 04:54 PM
    What exact version of IDL do you have?. Can you show us the output of: print, !version If you don't have IDL 8.0.1 patch, could you install it? Cheers, fernando
    You are not authorized to post a reply.