By default QCPAxisRect
has four axes which arrange in a rectangle. I want a plus type axis at the the center of QCustomPlot
. How can I do that?
Asked
Active
Viewed 1,300 times
0

László Papp
- 51,870
- 39
- 111
- 135

adnan kamili
- 8,967
- 7
- 65
- 125
-
just saw this on the QCP forum, looking for the same answer... dont know if it will be possible though – AngryDuck Oct 24 '13 at 07:52
-
Hmm iv had a thought on this, if there is a way that you change where the view is looking you could set it to look at 0,0 in the middle of the screen and change the style of the 0 line, and maybe add some text items or something so they look more like axis. i know this isnt a complete solution but im going to give it a try now because it could do the trick for now at least – AngryDuck Oct 24 '13 at 09:23
-
@AngryDuck http://www.qcustomplot.com/index.php/support/forum/86 – adnan kamili Oct 24 '13 at 14:01
-
thanks dude! works exactly as suggested – AngryDuck Oct 24 '13 at 15:39
1 Answers
1
Here is a small hack to which can be used as a workaround: http://www.qcustomplot.com/index.php/support/forum/86

adnan kamili
- 8,967
- 7
- 65
- 125