added scatter

This commit is contained in:
2006-04-18 09:19:59 +00:00
parent a0d2c0d16d
commit 1d48bd85c5
3 changed files with 35 additions and 8 deletions

6
fluent
View File

@@ -80,13 +80,15 @@ class FluentApp:
wf_menu.show()
wf_box.pack_end(wf_menu)
# Set up plot
# Set up plots
pt = self.widget_tree.get_widget('small_view')
plot = plots.SinePlot()
plot.show()
plot.mark_active(True)
# pt.set_child(plot, 0, 1)
plot2 = plots.ScatterPlot()
plot2.show()
# pt.set_child(plot, 0, 1)
# Set up plot toolbar
dock = self.widget_tree.get_widget('plot_toolbar_dock')
dock.add(plot.get_toolbar(self.app))