Closed TarekTaha closed 7 years ago
Each ipython cell basically calls plt.figure (), runs the cell, then calls plt.show (), so you could just call plt.figure() before each new plot command and plt show () at the end. If you are trying to use it for log analysis I would recommend trying Jupyter and ipython notebooks. That is the work flow I use.
Thank you @jgoppert for your reply.
Excuse my ignorance, I've never used ipython or Jupyter netbooks, so I have no idea how to run these scripts, can you please tell me how to run these scripts.
Follow along here: https://github.com/dronecrew/px4tools#using-anaconda-recommended
I am trying to use px4tools to generate some plots and analyse data. If I convert the examples in the ipynb files into a python script, then I get no output, and no plots. The only way I can generate plots is by doing the following:
Is this the correct way to display the plots ? I couldn't find any other way !