I am trying to plot a red level curve at level=2 onto the surface z, which is defined by the following code.
I am able to visualize the background image, but I can't plot the red curve on it.
I have looking for tutorials and examples (isocurve.py included) for days, without any useful advice.
Can anybody please give me a piece of working code?
Here's the code...
- Code: Select all
from pyqtgraph.Qt import QtGui,QtCore
import numpy as np
import pyqtgraph as pg