Discussion:
Change Title of plot
ThomasB
2011-11-03 09:59:02 UTC
Permalink
Hi @all,

Using """CurveDialog test""" in plot.py from the examples in guiqwt
library, I have problem:
I have tried in code and also with the gui itself but I have found no
way to change the default title name "Title".

Could anybody but me to the right direction?

Greats,
Thomas
Carlos Pascual
2011-11-04 08:56:13 UTC
Permalink
In code, using the example in guiqwt/tests/plot.py:

def plot(*items):
win = (...)
plot = win.get_plot()
(...)
plot.setTitle('ANOTHERTITLE') #<-- USE THIS
(...)
win.exec_()
Post by ThomasB
Using """CurveDialog test""" in plot.py from the examples in guiqwt
I have tried in code and also with the gui itself but I have found no
way to change the default title name "Title".
Could anybody but me to the right direction?
Greats,
Thomas
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
Cells / Alba Synchrotron [http:/www.cells.es]
Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: cpascual-***@public.gmane.org
Phone: +34 93 592 4428
+----------------------------------------------------+
ThomasB
2011-11-11 14:03:07 UTC
Permalink
......super! That was the hint I was looking for!

Continue reading on narkive:
Loading...