Bonjour, j'utilise QcustomPlot pour dessiner un graphique de données issues d'un fichier .csv.
je voudrais pouvoir afficher l'axe y yAxis en échelle réelle(en mm).
est ce possible de faire ça ?
voici le code du fichier mainwindow.cpp
Merci d'avance pour vos réponses!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 customPlot2->addGraph(); customPlot2->graph(0)->setData(colonneXY, colonneZ); customPlot2->xAxis->setLabel("Km+position"); customPlot2->yAxis->setLabel("LL"); customPlot2->xAxis->setRange(130,95); customPlot2->yAxis->setRange(-15, 15); customPlot2->replot();
Partager