Menu

#454 Plot with labels boxed wrong behavior

None
closed-fixed
nobody
None
5
2018-07-26
2016-07-04
Anonymous
No

Hi,

I am not sure if this is a bug, but possibly the new 'plot with labels boxed' has a behavior that does not match the rest of gnuplot.

When I want to generate a gnuplot image larger, I use a 'SizeScale' parameter, along with the 'fontscale' and 'linewidth' parameters, and this will make my fonts and lines larger in the same way as the image size.

For example:

SizeScale=1
set term pngcairo enhanced font "Verdana,10" size 960*SizeScale, 720*SizeScale rounded fontscale SizeScale linewidth SizeScale
set output 'image1.png'
set style textbox opaque
plot '-' u 2:3:1 w labels center boxed font "Verdana,10" tc rgb 'black'
PNT1 2.3 48.8
PNT2 8.5 47.4
PNT3 1.4 43.4
PNT4 12.5 41.8
PNT5 23.4 42.6
e

If I change the 'SizeScale' parameter to 8, the image will be 8 times bigger, and every line and font will be also 8 times bigger and the proportions will be maintained.
Everything but the label box line, which will be still just 1 pixel width, and so in the large image it will be very small.
I have attached image1.png and image8.png so you can see what I mean.

Is this a bug or is it the expected behavior?

Thank you,
Teo

2 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2016-07-26

    Let's call it a feature request rather than a bug.
    I've just finished reworking the textbox so that fillcolor and bordercolor as supported consistently. But there is no border linewidth parameter so far.

    Moving to Feature Request

     
  • Ethan Merritt

    Ethan Merritt - 2016-07-26

    Ticket moved from /p/gnuplot/bugs/1825/

    Can't be converted:

    • _milestone:
    • _priority:
     
  • Ethan Merritt

    Ethan Merritt - 2017-04-20
    • status: open --> pending-accepted
    • Group: -->
    • Priority: --> 5
     
  • Ethan Merritt

    Ethan Merritt - 2017-04-20

    scaling of textbox border in cairo terminals fixed for 5.0 and 5.1

    textbox border linewidth property added to "set style textbox" for 5.1

     
  • Ethan Merritt

    Ethan Merritt - 2018-07-26
    • status: pending-accepted --> closed-fixed
     

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.