gruff icon indicating copy to clipboard operation
gruff copied to clipboard

Can I get a graph with equal distances in both axis?

Open inyerade opened this issue 2 years ago • 1 comments

I need to graph with

maximum_value = value
minimum_value = -value
maximum_x_value = value
minimum_x_value = -value

and I need to see like a square but I only can get a rectangle like the image

image

inyerade avatar Jan 02 '24 21:01 inyerade

We do not support such graphs for now.

It may be possible to adjust the vertical and horizontal size of the canvas, like:

g = Gruff::Line.new("800x800")

Watson1978 avatar Jan 06 '24 01:01 Watson1978