Menu

#531 set boxwidth has no effect for bins data

None
open
nobody
None
None
2023-06-15
2019-08-09
No

"set boxwidth" may not have no effect for bins data. For example,

set boxwidth 0.5 relative
plot "data" using 1 bins binrange [5:95] binwidth=10 w boxes

These boxes close to each other against the setting of boxwidth.
For bins data, the width of boxes may be decided by binwidth istead of boxwidth.
I think it may be useful to change the box width by "set boxwidth".

Discussion

  • Ethan Merritt

    Ethan Merritt - 2022-02-28

    Ticket moved from /p/gnuplot/bugs/2190/

    Can't be converted:

    • _milestone:
    • _priority:
     
  • Miguel

    Miguel - 2023-06-15

    I am experiencing this problem too with 5.4 patchlevel 8.

    Simply:

    set boxwidth 0.5
    plot "data.txt" using 1 bins=10 with boxes

    All boxes are adjacent

    I've tried 0.5 relative and 0.5 absolute without change

     

    Last edit: Miguel 2023-06-15

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.