2 Attachment(s)
How can I insert more than one y-axis?
Hello, I'm new in this forum. I found a lot of information here that helped me before, I hope someone can help me in this new problem.
I'm using QwtPlot to draw a x-y graph, but I have a lot of information to draw, not just one curve, and some of those information have scale completely different. Some information have small numbers (-0.0005 to 0.0005) and some information have big numbers (1000 to 2000). When I draw all information together using just one y-axis, I have to scroll the graph to see all curves because one information could be at the end of the range and another one at the beginning. It would be better for me if I can plot all curves and each one has its own y-axis, and then I can have a different range and scale for each one and show all of them using just one graph. I have to see all my curves together, because I have to compare them, when I cannot see all curves in the screen I cannot compare.
I don't know how to do it and actually I don't even know if it's possible. I hope I explained in a way that someone can understand me and help me with this problem.
I attached two pictures to explain what I have and what I need.
This picture is what I have know, just one y-axis:
Attachment 7391
This picture is what I need to do:
Attachment 7392
I hope someone can help me.
Is it possible to do? How can I do it?
Thanks in advance
Regards
Re: How can I insert more than one y-axis?
QwtPlot doesn't support more than 2 y axes ( yLeft + yRight ).
But there is an unofficial patch here: http://sourceforge.net/tracker/?func...93&atid=313693
Uwe
Re: How can I insert more than one y-axis?
Thanks a lot Uwe. I found this patch yesterday. I have another question. Maybe it's a stupid question, but like I said I'm new using Qwt.
Can you help me and tell me how I can set this patch using windows?
I don't know how and I didn't find enought information about how to do that.
Thanks a lot.
Regards
Thanks a lot Uwe. I found this patch yesterday. I have another question. Maybe it's a stupid question, but like I said I'm new using Qwt.
Can you help me and tell me how I can set this patch using windows?
I don't know how and I didn't find enought information about how to do that.
Thanks a lot.
Regards
Re: How can I insert more than one y-axis?
You must install msysGit.
1)Open the console Git and with cd to the directory of the module you want to patch:
My directory is C:\temp\qwt-6.0.0\src
2)Enter in the console
Code:
git apply -v patchname.patch
3)In the console should appear something like this:
Code:
Checking patch filename...
Applied patch filename cleanly.
Then rebuild the library again with the corrected files Qwt
Re: How can I insert more than one y-axis?
Thanks a lot oddytz1989. I applied the patch here and it's working pretty fine. Thanks.
Re: How can I insert more than one y-axis?
Quote:
Originally Posted by
Uwe
QwtPlot doesn't support more than 2 y axes ( yLeft + yRight ).
Uwe
Is there a particular reason you chose not to incorporate this into 6.x ?
I work on GoldenCheetah and we use QWT extensively, but since we need multiple axes we have to keep a locally patched vesion of qwt in our distro (just upgraded it to 6.0.1).
Thanks in advance,
Mark