help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plot titles are off of the plot


From: charles reid
Subject: Re: plot titles are off of the plot
Date: Sat, 24 Oct 2009 14:15:26 -0600

To clarify:
- The title is off the plot when I make a plot (whether it's a contour plot, a surface plot, a stem plot, a plain plot, etc.).  The title is always off of the plot so that I can only see the bottom portion of the words. (this was the screenshot, attachment Picture 1.png)
- When I use the 'saveas' command to save the plot to a file, everything looks fine. (this was the attachment Picture 2.png)

So the problem isn't with the saved figure, it's with the plots that are created and shown to me on the screen.  Thus, if I want to see the title of a plot, I have to save it using the 'saveas' command and open the picture file.


Charles

On Sat, Oct 24, 2009 at 01:25, Matthias Brennwald <address@hidden> wrote:
2009/10/23 charles reid <address@hidden>
Yes, I'm generating these plots using the 'plot' command.  Is there another graphics back-end that won't have this problem?


On Fri, Oct 23, 2009 at 06:52, Matthias Brennwald <address@hidden> wrote:

On Oct 23, 2009, at 2:29 PM, address@hidden wrote:

Hi -

I'm using Octave 3.2.0 on a Mac.  When I create plots, the titles are not
entirely in the plot window (see attached "Picture 1.png").  I've tried
re-adjusting the physical position of the titles, but it doesn't fix the
problem (the text is still cut off, or I have to make it overlap with the
plot itself).  I see this behavior using GnuPlot with either X11 or Aquaterm
as my back-end.  The behavior is really annoying, since, to see the actual
plot titles, I have to save the plot to an external file, which looks fine
(see attached "Picture 2.png").  Does anybody have any idea what is causing
this?  Is anyone else experiencing this problem?

Hi Charles

How did you create the PNG file? I believe your problem might be related to this:

http://www.nabble.com/Axis-labels-in-EPS-figure-are-outside-bounding-box-td25941582.html#a25942083

Matthias

My question was not if you use the plot command (I can't think of an alternative), but if you use the print command to save the plot to a file. As demonstrated in the thread linked above, saving figures to files may not always result in proper "bounding boxes", i.e. the stuff in the figure might lie outside the figure boundaries in the saved file. My last message in the mentioned thread illustrates how to get around this issue (which might also be useful to adjust the "bounding boxes" for figures displayed on screen). Yet, I am not sure if this is really what is causing your problem.

Matthias


reply via email to

[Prev in Thread] Current Thread [Next in Thread]