How can I draw a complex contour?
Show older comments
I think this line is the problem
[DH1,h1]=Real(contour(y,x,psi1,10,'-k'));
Answers (1)
Takumi
on 13 Jul 2020
[DH1,h1]=(contour(y,x,real(psi1),10,'-k'));
4 Comments
madhan ravi
on 13 Jul 2020
Edited: madhan ravi
on 13 Jul 2020
Yes, it doesn’t ignore the complex part like the other plot functions so q call to real() is imminent.
Shreen El-Sapa
on 14 Jul 2020
madhan ravi
on 14 Jul 2020
doc real
doc imag
Shreen El-Sapa
on 14 Jul 2020
Categories
Find more on Stair Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!