Custom scales in guiqwt?

40 views
Skip to first unread message

Carlos Pascual

unread,
Apr 8, 2016, 3:11:55 AM4/8/16
to guidata/guiqwt
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: cpas...@cells.es
Phone: +34 93 592 4428
+----------------------------------------------------+

Carlos Pascual

unread,
Apr 25, 2016, 11:54:11 AM4/25/16
to guidata...@googlegroups.com
three weeks, no answer,... maybe it got buried among other emails?

someone?

:)
Reply all
Reply to author
Forward
0 new messages