Open lucas993 opened 8 years ago
PyQt4, and I just learn how to put matplotlib plot in PyQt4.
On Tuesday, September 13, 2016, lucas993 notifications@github.com wrote:
It appears? Are you using PyQt4 or PyQt5?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sterncat/zernikeapp/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiIhYA6nsjQj6rN9VyGxFxOhldScs7Xks5qpsWmgaJpZM4J71Mf .
Have you looked at PyQtGraph ? I had really easy success with it recently, and it's much simpler to customize and control than matplotlib. There are lots of demo scripts.
I checked the PyQtGraph before, it still needs PyQt4.8+. So for convenience I chose the PyQt4. For now, PyQt4 could easily embedded matplotlib in it.
2016-09-13 9:16 GMT-07:00 Adam Hayes notifications@github.com:
Have you looked at PyQtGraph http://www.pyqtgraph.org/ ? I had really easy success with it recently, and it's much simpler to customize and control than matplotlib. There are lots of demo scripts.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sterncat/zernikeapp/issues/1#issuecomment-246736936, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiIhQ_TvcY-ob0JTLCISIdVKQNRuHx0ks5qpsxPgaJpZM4J71Mf .
Looks like panel.py is using PyQt5. Maybe this works with Python 3 rather than Python 2.7?
from PyQt5.QtWidgets import (QWidget, QGridLayout, QLineEdit, QLabel, QHBoxLayout, QVBoxLayout, QPushButton, QApplication)
from PyQt5.QtGui import QPixmap
from PyQt5 import QtCore
Zernike Polynomials Application(PyQt Implement)
How to use
Yo need following python module:
numpy, matplotlib, PyQt5
cd in the zernikeappp directory
Oh, my wrong. It use pyqt5.But the core of zernikeapp has sime small problem which doesn't work well under python3. If you want to, you could easily fix it.
On Tuesday, September 13, 2016, lucas993 notifications@github.com wrote:
Looks like panel.py is using PyQt5. Maybe this works with Python 3 rather than Python 2.7?
from PyQt5.QtWidgets import (QWidget, QGridLayout, QLineEdit, QLabel, QHBoxLayout, QVBoxLayout, QPushButton, QApplication) from PyQt5.QtGui import QPixmap from PyQt5 import QtCore
Zernike Polynomials Application(PyQt Implement)
How to use
Yo need following python module:
numpy, matplotlib, PyQt5
cd in the zernikeappp directory
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sterncat/zernikeapp/issues/1#issuecomment-246761547, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiIhZEgsW5LJhmIgO_TgCU4G23Lndxfks5qpt-SgaJpZM4J71Mf .
Yeah, I could take a shot. Do you have the problem isolated? Or any notes?
If I have time, I would rewrite it and make it a real exe file. That version will use PyQt4,python2.7 and user don't need python in their system. User could just download and run it. So if you really want it now, you could give a shot. Otherwise, I will just abandond this version.
On Tuesday, September 13, 2016, lucas993 notifications@github.com wrote:
Yeah, I could take a shot. Do you have the problem isolated? Or any notes?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sterncat/zernikeapp/issues/1#issuecomment-246770499, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiIhYLv6JrRXdhplgZpOLTwr9sBqCszks5qpuZdgaJpZM4J71Mf .
It appears? Are you using PyQt4 or PyQt5?