-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
Setting xmin
and xmax
for hlines
in data coordinates
#4443
Labels
enhancement
Feature requests and enhancements
Makie
Backend independent issues (Makie core)
plot
Related to plot object
Comments
You could use |
Huh, that's an interesting approach!
…On Thu, Oct 3, 2024, 00:54 Julius Krumbiegel ***@***.***> wrote:
You could use rangebars for that with horizontal orientation
—
Reply to this email directly, view it on GitHub
<#4443 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD7ET7C3WAHVYXBW5SFOD63ZZTEXJAVCNFSM6AAAAABPIRXYMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJQGUYTKNJTGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
ffreyer
added
Makie
Backend independent issues (Makie core)
plot
Related to plot object
labels
Oct 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
Feature requests and enhancements
Makie
Backend independent issues (Makie core)
plot
Related to plot object
Feature description
For clarity, I refer only to
hlines
in this feature request. Assume that the following applies toymin
andymax
forvlines
too.I would like to be able to set minimum and maximum x-values for hlines in data coordinates. As far as I can tell, it is currently only possible to set these in scene coordinates.
In this code, I attempt to draw horizontal lines that extend right from a curve by using
xmin
in scene coordinates.As you can see, the naive conversion to scene coordinates is buggy because the scene's limits do not correspond exactly to the data's limits. In more complex plots, converting coordinates manually can be even harder.
Alternatively, being able to use
lines
without affecting the limits would allow a similar result.The text was updated successfully, but these errors were encountered: