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

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

[Octave-bug-tracker] [bug #60614] Wrong font size in errorbar with gnupl


From: INVALID.NOREPLY
Subject: [Octave-bug-tracker] [bug #60614] Wrong font size in errorbar with gnuplot toolkit
Date: Sun, 16 May 2021 04:22:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

URL:
  <https://savannah.gnu.org/bugs/?60614>

                 Summary: Wrong font size in errorbar with gnuplot toolkit
                 Project: GNU Octave
            Submitted by: albertnetymk
            Submitted on: Sun 16 May 2021 08:22:17 AM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:


graphics_toolkit('gnuplot');
setenv GNUTERM dumb

set(0, "defaultaxesfontsize", 10)
set(0, "defaulttextfontsize", 10)

set(0, "defaultaxesfontname", "FreeSans")
set(0, "defaulttextfontname", "FreeSans")

1;
close all
% figure('visible', 'off');
subplot(2, 2, 1)

% bar(1:5);
errorbar(1:5, 1:5, 2:6);
ylabel("Mean and standard deviation new")

title("128G")

print(1, "./test.pdf", '-dpdfcairo')


Save the script as `test.m` and run it in the following two ways:


export DISPLAY='';   octave --no-gui test.m   # attached as nogui.pdf
export DISPLAY=:0.0; octave --no-gui test.m   # attached as   gui.pdf


The font sizes are different in those two pdfs. (Both seem incorrect.)
Interestingly, `bar` seems to work fine. Currently, I am using the workaround
of setting `visible` to `off`.

ENV:
OS: Debian Bullseyee 11
gnuplot 5.4 patchlevel 1



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 16 May 2021 08:22:17 AM UTC  Name: gui.pdf  Size: 11KiB   By:
albertnetymk

<http://savannah.gnu.org/bugs/download.php?file_id=51440>
-------------------------------------------------------
Date: Sun 16 May 2021 08:22:17 AM UTC  Name: nogui.pdf  Size: 11KiB   By:
albertnetymk

<http://savannah.gnu.org/bugs/download.php?file_id=51441>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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