bugGNU Octave - Bugs: bug #60614, Wrong font size in errorbar with...


bug #60614: Wrong font size in errorbar with gnuplot toolkit

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:  Open/Closed:  Open
Release:  6.2.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 16 May 2021 08:22:17 AM UTC, original submission:  

setenv GNUTERM dumb

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

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

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")


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`.

OS: Debian Bullseyee 11
gnuplot 5.4 patchlevel 1



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #51440:  gui.pdf added by albertnetymk (11KiB - application/pdf)
file #51441:  nogui.pdf added by albertnetymk (11KiB - application/pdf)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by albertnetymk (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-16 albertnetymk Attached File- => Added gui.pdf, #51440
        Attached File- => Added nogui.pdf, #51441

    Back to the top

    Powered by Savane 3.6