VNemes
2011-06-21 13:39:10 UTC
Hello,
Could anybody help me solve the following problems?
1) I would like to move an existing vertical cursor from code to a new
position. Could you give me an example how to do that?
2)I would like to synch the X axes of several curve plots that are
connected to the same manager, so that any zoom/pan action in one of
the plots is done across all the synced plots. I've found an example
in ...\Lib\site-package\guiqwt\tests\syncplot.py but the script
unfortunately does not run due to errors (I'm using Python(x, y)
2.6.6.1).
I've tried the following, without success:
self.plot1 = CurvePlot()
self.plot2 = CurvePlot()
self.manager = PlotManager(self)
self.manager.add_plot(self.plot1, "1")
self.manager.add_plot(self.plot2, "2")
self.manager.synchronize_axis(BasePlot.X_BOTTOM, ["1", "2"])
Thanks
Could anybody help me solve the following problems?
1) I would like to move an existing vertical cursor from code to a new
position. Could you give me an example how to do that?
2)I would like to synch the X axes of several curve plots that are
connected to the same manager, so that any zoom/pan action in one of
the plots is done across all the synced plots. I've found an example
in ...\Lib\site-package\guiqwt\tests\syncplot.py but the script
unfortunately does not run due to errors (I'm using Python(x, y)
2.6.6.1).
I've tried the following, without success:
self.plot1 = CurvePlot()
self.plot2 = CurvePlot()
self.manager = PlotManager(self)
self.manager.add_plot(self.plot1, "1")
self.manager.add_plot(self.plot2, "2")
self.manager.synchronize_axis(BasePlot.X_BOTTOM, ["1", "2"])
Thanks