Hi QCustomPlot is great,
I build a function to add a graph every time when it get call. When the function get call 10 times than i have 10 graphs in the plot-window.
Now i want to plot several graphs in the plot-window with very different values and scale. I want that every single plot get it own scale. To see the values in axis is not important (it would be too much) but all plots should have their own scale/fit into the plot-window.
Someone has an idea how this works?
the code from inside the function:
ui->CP1->addGraph(); ui->CP1->graph()->setData(x, y); ui->CP1->xAxis->setLabel("Step"); ui->CP1->yAxis->setLabel("Value"); ui->CP1->yAxis->scaleRange(1.1, ui->CP1->yAxis->range().center()); ui->CP1->xAxis->scaleRange(1.1, ui->CP1->xAxis->range().center()); ui->CP1->rescaleAxes(); ui->CP1->replot();
Thank you very much, best regards!