-
Notifications
You must be signed in to change notification settings - Fork 657
How to use make_addplot with a new y AND x axis? #518
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The ability to have multiple y-axes, and the ability to place markers above, below, or around candles, is demonstrated clearly in the additional plots tutorial. Please take the 5 or 10 minutes needed to read through the entire tutorial. (after reading through the entire addplot tutorial and trying that approach, then, for additional ideas, see this multiple scatter markers example and also issue #97.) Time (the x-axis) is always shared between all panels. If you really want to have multiple time axes in the same plot, you will have to gain access to the Figure and Axes objects and create your own Axes object that has a different time axis. If this is really what you want, please explain why; perhaps if I understand your final goal then I can suggest the best way to acheive that. |
Thank you for the fast and in-depth response Daniel. I have indeed read the additional plots tutorial. The use-case for my request is as follows: I will look into the suggesting "Gain access to the Figure and Axes objects". PS. An additional question (that would also solve my problem): |
OK. As I understand it now you want to be able to plot points for which the x-value is at any datetime on the x-axis, even if that datetime falls between two rows of you DataFrame (effectively interpolating between rows). This can be done, but it can be quite tricky (for reasons that I will explain). A little too busy right now to provide the details. Hope to get back to you in a day or two. |
Exactly right! No worries at all Daniel, thank you for this response. Your time is clearly valuable, and I by no means expect your response to be a detailed walkthrough. Thanks again(: |
I need to be able to place dots freely on top of a candlestick chart. How can this be achieved?
The text was updated successfully, but these errors were encountered: