octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #60120] Print of a figure has incorrect xtick/


From: Rik
Subject: [Octave-bug-tracker] [bug #60120] Print of a figure has incorrect xtick/xtick label output (overlayed)
Date: Thu, 25 Feb 2021 17:01:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

Follow-up Comment #1, bug #60120 (project octave):

The '-S' option is always tricky.  In order to get you to a solution in the
fastest possible manner, I'd suggest abandoning that particular construct.

I was able to load your figure with


hgload Figure1_Octave_Native.ofig


If I look the "position" field with


get (gcf, "position")
ans =

   1296    453   1200    698


The size is 1200x698 with an aspect ratio of 1.719

If I just print this figure with


print plot.jpg


The result is a jpg that looks pretty good and is of size 1874x1090 or an
aspect ratio of 1.719.

You could just take this resulting figure and shrink it in an image processing
program to the right size.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60120>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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