Nitish Jha
2014-07-31 15:00:27 UTC
hello,
i am using the guiqwt curvewidget in my application which shows the current
position of a robot in the tank. i have a QTimer to periodically update the
robot position in the plot. i do a plot.replot() in the timer slot to
update the position. as i have a large static layout that is also shown in
the plot. (see images)
self.robot_item.set_points(self.simulator.robot.rotated_robot_item_array)
# i am using a polygon shape to represent the robot
self.layout_plot_widget.plot.replot()
in every update loop the memory used by the application increases. if i
comment out the plot.replot() than its fine. is there a better way to have
just the changed items be re-plotted rather than the whole plot ?
thanks for the help.
nitish
i am using the guiqwt curvewidget in my application which shows the current
position of a robot in the tank. i have a QTimer to periodically update the
robot position in the plot. i do a plot.replot() in the timer slot to
update the position. as i have a large static layout that is also shown in
the plot. (see images)
self.robot_item.set_points(self.simulator.robot.rotated_robot_item_array)
# i am using a polygon shape to represent the robot
self.layout_plot_widget.plot.replot()
in every update loop the memory used by the application increases. if i
comment out the plot.replot() than its fine. is there a better way to have
just the changed items be re-plotted rather than the whole plot ?
thanks for the help.
nitish
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.