Closed korsbo closed 4 years ago
Thanks for calling attention to this. HLine
and VLine
are hacks, and I am not sure how to work around this in a robust way, but I will do some digging the docs.
I thought about just submitting a PR rather than an issue, but I don't know how to access information about whether the axis is logarithmic from where the XLine
latex code is generated.
I could think of a lazy expansion scheme for plot elements, but before we complicate the code too much I will search for a solution using pgfplots/LaTeX/TikZ.
I found a neat solution, I'll PR shortly.
The start and end points of
HLine
andVLine
are incorrect when the respective axis is inmode = "log"
The
print_tex
output showsand some tinkering revealed that I get the desired result if I exponentiate the appropriate
ymin
andxmin
: