Discussion:
[guidata/guiqwt] Custom scales in guiqwt?
Carlos Pascual
2016-04-07 07:13:26 UTC
Permalink
Hi,

I am interested in customizing the scales of a plot in guiqwt.

Two typical uses are:

- use a date/time scale
- use labels instead of numbers at certain positions

Currently I am hacking it in guiqwt 2.3.1 with calls to the underlying
PyQwt5 API (plot.setScaleDraw and plot.setScaleEngine, and creating my
own custom QwtScaleDraw and QwtScaleEngine classes).

My question is: what is the recommended way of doing this in guiqwt3?

Should I work in the same way but using PythonQwt instead of PyQwt5?
Or is there a higher level guiqwt API for this?

Thanks in advance for any help!

Cheers,

Carlos
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
ALBA Synchrotron [http://www.albasynchrotron.es]
Carrer de la Llum 2-26
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: ***@cells.es
Phone: +34 93 592 4428
+----------------------------------------------------+
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Carlos Pascual
2016-04-25 15:54:09 UTC
Permalink
three weeks, no answer,... maybe it got buried among other emails?

someone?

:)
Post by Carlos Pascual
Hi,
I am interested in customizing the scales of a plot in guiqwt.
- use a date/time scale
- use labels instead of numbers at certain positions
Currently I am hacking it in guiqwt 2.3.1 with calls to the underlying
PyQwt5 API (plot.setScaleDraw and plot.setScaleEngine, and creating
my own custom QwtScaleDraw and QwtScaleEngine classes).
My question is: what is the recommended way of doing this in guiqwt3?
Should I work in the same way but using PythonQwt instead of PyQwt5?
Or is there a higher level guiqwt API for this?
Thanks in advance for any help!
Cheers,
Carlos
--
+----------------------------------------------------+
Carlos Pascual Izarra
Scientific Software Coordinator
Computing Division
ALBA Synchrotron [http://www.albasynchrotron.es]
Carrer de la Llum 2-26
E-08290 Cerdanyola del Valles (Barcelona), Spain
E-mail: ***@cells.es
Phone: +34 93 592 4428
+----------------------------------------------------+
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...