Variability Plot: Custom X Axes
Attachment 13251
I am looking to create a plot similar to the one above but in QWT. I tried inheriting from the QwtScaleDraw class and then implementing the draw label but that only draws the label for the specified tick mark. I want to have buckets essentially and only the uppermost bucket correspond to the tick mark. I looked and found a post that looked promising but the class that was being referred to does not exist in the current Qwt version nor does any documentation exist for it. The link to the post that could have been potentially helpful is : https://www.qtcentre.org/threads/690...Plot-multiaxes
Re: Variability Plot: Custom X Axes
The attachment does not work for me, so I'm not sure what your request is about.
The linked thread is about the multi axes branch, but it does not seem related to the rest of the text. Anyway, you find it here: https://sourceforge.net/p/qwt/code/H...-6.1-multiaxes
Uwe
1 Attachment(s)
Re: Variability Plot: Custom X Axes
https://stackoverflow.com/questions/...-using-ggplot2
The link above is where I got the image from. This example is derived from JMP. I looked at the example from the link I sent and see that you attach certain curves and data sets to each of the axes you create but I am looking at something similar to the graph produced at the top of the link provided.
Re: Variability Plot: Custom X Axes
I'm afraid there is no easy way to implement your scales at the bottom and you would have to overwrite:
- QwtAbstracScaleDraw::draw
- QwtPlotRenderer::renderScale
more or less from scratch.
ciao,
Uwe
Re: Variability Plot: Custom X Axes
Okay, I tried to overwrite the QwtScaleDraw but I see how I would have to actually do the QwtAbstractScaleDraw. I didn't know about the QwtPlotRenderer so thanks for that as well! I appreciate it!