Menu

pdfcairo terminal linewidth less than 1?

gnutron
2016-03-04
2016-03-04
  • gnutron

    gnutron - 2016-03-04

    Can the pdfcairo term not make linewidths smaller than 1? Doesn't seem to anyway...

    # gnuplot 5.03 test script
    
    reset
    
    set terminal pdfcairo enhanced font "Garamond,8" fontscale 1.0 size 8.5in,11in 
    set output 'graph.pdf' 
    set xrange [0:8.5]
    set yrange [0:11]
    unset border
    unset xtics
    unset ytics
    unset key
    set margins 0,0,0,0
    
    set linetype 1 lc rgb "#999999" lw 0.5          
    set linetype 2 lc rgb "#999999" lw 1                
    set linetype 3 lc rgb "#999999" lw 2                
    
    unset arrow
    
    set arrow from 0,9 to 8.5,9 nohead lt 1
    set arrow from 0,8.5 to 8.5,8.5 nohead lt 2
    set arrow from 0,8 to 8.5,8 nohead lt 3
    
    plot -5 lt 1
    
    reset
    set term wxt
    set out
    
     

    Last edit: gnutron 2016-03-04
    • Ethan Merritt

      Ethan Merritt - 2016-03-04

      That does seem to be the case. I'm not sure what the logic was. The
      other cairo terminals also have a minimum linewidth, but it is half
      that for pdfcairo. If nothing else we can make pdf output match the
      others.

      On Fri, Mar 4, 2016 at 12:22 PM, gnutron gnutron@users.sf.net wrote:

      Can the pdfcairo term not make linewidths smaller than 1? Doesn't seem to anyway...
      ~~~~

      gnuplot 5.03 test script

      reset

      set terminal pdfcairo enhanced font "Garamond,8" fontscale 1.0 size 8.5in,11in
      set output 'graph.pdf'
      set xrange [0:8.5]
      set yrange [0:11]
      unset border
      unset xtics
      unset ytics
      unset key
      set margins 0,0,0,0

      set linetype 1 lc rgb "#999999" lw 0.5
      set linetype 2 lc rgb "#999999" lw 1
      set linetype 3 lc rgb "#999999" lw 2

      unset arrow

      set arrow from 0,9 to 8.5,9 nohead lt 1
      set arrow from 0,8.5 to 8.5,8.5 nohead lt 2
      set arrow from 0,8 to 8.5,8 nohead lt 3

      plot -5 lt 4

      reset
      set term wxt
      set out
      ~~~~


      pdfcairo terminal linewidth less than 1?


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gnuplot/discussion/5924/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

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.