Skip to content

Commit

Permalink
Fix: experimental csv export for 2D plot
Browse files Browse the repository at this point in the history
  • Loading branch information
doluk committed Jul 18, 2024
1 parent 07f4fe1 commit 6710d6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gui/us_gui_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ int US_GuiUtil::save_csv( const QString& filename, const QwtPlot* plot )
int max_length = 0;
for ( QwtPlotItem* item: plot->itemList( QwtPlotItem::Rtti_PlotCurve ) )
{
if ( item->rtti() != QwtPlotItem::Rtti_PlotCurve )
{
continue;
}
// create two Vectors for x and y respective
QVector<QString> x_data;
x_data.clear();
Expand Down

0 comments on commit 6710d6e

Please sign in to comment.