Menu

#2003 pdfcairo terminal cuts off x-axis label

None
closed-not-a-bug
nobody
2018-04-28
2017-12-17
Anonymous
No

Hi,

I recently switched from postscript terminal to pdfcairo. The graphs look nearly identical except for x-axis label being cut off in pdfcairo. It is only 2-3 pixels but it is noticable. One can use "hard" margin to correct, but it requires unnecessary attention.

Running gnuplot 5.2 patchlevel 2
Installed via macports ver. 2.4.2 under High Sierra macOS 10.13.2

Attached both pdf and eps versions.
postscript terminal:
set term postscript enhanced eps defaultplex \ leveldefault color colortext \ solid dashlength 1.0 linewidth 1.0 pointscale 2.0 butt noclip \ palfuncparam 2000,0.003 \ size 3.0in, 2.0in font 'Helvetica,20'

pdfcairo terminal:
set term pdfcairo enhanced color butt dashlength 1.0 size 3.0in, 2.0in font 'Helvetica,20'

Cheers,
Radek

2 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2017-12-23

    The output from different terminal types is not expected to be identical.
    I would consider the eps/pdf difference to be within acceptable range of variation.
    If you want to tweak the position of the x-label I suggest using "set xlabel offset 0, 0.1" rather than "set margin".

     

    Last edit: Ethan Merritt 2017-12-23
  • Ethan Merritt

    Ethan Merritt - 2018-01-01
    • status: open --> open-not-a-bug
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2018-04-28
    • Status: open-not-a-bug --> closed-not-a-bug
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.