Menu

#535 range extension options

None
closed
nobody
None
5
2022-10-21
2022-05-06
No

gnuplot by default extends the ranges to the next tic position.

It'd be useful if the extension could alternatively be defined as "by x" or "by n percent" of the whole range".

And/or, and possibly a simple addition: automatically increase the xrange with boxes, boxplot, candlesticks etc, by the width of the boxes.

Discussion

  • Ethan Merritt

    Ethan Merritt - 2022-05-06

    I think you are correct that candlestick plots do not auto-extend.

    But It is already supposed to do that for "with boxplots" and for "with boxes" when the boxwidth is a known constant.

    As for extending based on the range, that's what "set offset" is for.

    Can you attach some test cases where it isn't working?

     
    • Karl Ratzsch

      Karl Ratzsch - 2022-05-06

      Oh, I hadn't checked boxplots and boxes in fact. Just candlesticks.

      And I also didn't know about "set offset". I was expecting to find the functionality under "set xtics". Does what it's supposed to, thanks! Only the name is a bit weird, that's not really an offset, is it?

      Perhaps a reference to "set offsets" in the help on "set xtics" and "set autoscale" would be good.

       
      • Ethan Merritt

        Ethan Merritt - 2022-05-11

        good idea.

         
  • Ethan Merritt

    Ethan Merritt - 2022-10-21
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB