-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[] Feature request: Horizontal guide lines in plots #2482
Comments
I've got this mostly implemented. I'm using these characters How do you want to specify the y values? From the command line, in .visidatarc, or interactively within visidata? |
Awesome, thank you! I was thinking there'd be an attribute like |
Awesome, thank you! What would be the way for me to test this feature, given that it depends on two commits in separate branches? |
Try this, for
If it worked, you'll be able run |
Thank you, I'll do that soon. Note that you used the term "line" which might be a little generic and overloaded. I asked Claude and ChatGPT what you might call a line like that which doesn't represent real data, and they suggested "baseline", "reference line", "threshold line", "benchmark line", "target line" and "cutoff line". I like the first two suggestions best. Also if this is accepted there's also a good chance that the same feature for the X axis would be desired. I'll test in the next few days and let you know. |
Thanks for suggesting alternatives! I agree "line" is too generic, and I like "reference ilne". Maybe change Vertical lines on the X axis are already supported, the |
The Now the commands to try the graph reference-line feature are:
|
I tried it now and it looks good. When I first did a line it looked great: This is just the right thickness and color I imagined. I see it uses the character However, after I pressed This uses the character I tried I tried Like the previous example, the line is too bold. Otherwise the feature is great. |
@cool-RR Let me know what you think. |
It would be cool if I could add horizontal guide to plot. I mean that I could give specific Y values where a line would be drawn from the left edge of the screen to the right edge. Whereever there are datapoints, the line won't be drawn.
Here's a grab-bag of horizontal line characters at various heights:
We could use the different heights to make the lines more accurately-placed.
The text was updated successfully, but these errors were encountered: