How to indicate the number of nodes and elements of mesh of PDE problem in command line? (the function pdeplot can't do this)

4 ビュー (過去 30 日間)
Now, I have set up a PDE model mesh in command line rather than GUI in PDE App. I want to indicate the number of nodes and elements of my mesh, I have try to use the function pdeplot and pdegplot but fail to indication! I know I can indicate the number of nodes and elements in PDE App if you generate your mesh in GUI manner in your App. but I would like to set completely up my PDE model in command line (using Code). So how can I get the indication of number of nodes and elemnts?

回答 (1 件)

Ravi Kumar
Ravi Kumar 2019 年 3 月 19 日
Try using:
pdemesh(modelM,'NodeLabels','on')
Does it not show labels of node for you?
  3 件のコメント
Ravi Kumar
Ravi Kumar 2019 年 3 月 24 日
You need newer version of MATLAB to plot note labels. Please upgrade to R2016b or newer.
Regards,
Ravi
Xun Huang
Xun Huang 2019 年 6 月 19 日
Tanks, your answer is useful for me!
Regards,
Xun

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by