[討論] contour,surf 上標出點

作者: su3cl3 (:))   2016-04-07 21:34:13
z=f(x,y)
我現在有個2D contour(x,y,z)
x1,y1為local maximam 的x,y 座標,z1為值
x1,y1,z1皆為vector
hold on;
plot(x1,x2,'^') %標出位置
我要如何在這些位置上顯示出z1的值呢?
若是3D surf(x,y,z)
又該如何標出位置和顯示值呢?
感謝
作者: celestialgod (天)   2016-04-07 21:50:00
z1應該可以用text 3D用plot3標值:http://tinyurl.com/z7exg42
作者: su3cl3 (:))   2016-04-07 22:19:00
感謝

Links booklink

Contact Us: admin [ a t ] ucptt.com