Esempio n. 1
0
 def to_sedml(self, level, version):
   plt = libsedml.SedPlot3D(level, version)
   plt.setId(self.get_id())
   if self.get_name() is not None:
     plt.setName(str(self.get_name()))
   # surfaces
   for s in self.get_signals():
     plt.addSurface(s.to_sedml(level, version))
   return plt
Esempio n. 2
0
 def to_sedml(self, level, version):
   plt = libsedml.SedPlot2D(level, version)
   plt.setId(self.get_id())
   if self.get_name() is not None:
     plt.setName(str(self.get_name()))
   # curves
   for c in self.get_signals():
     plt.addCurve(c.to_sedml(level, version))
   return plt