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 vues (au cours des 30 derniers jours)
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?

Réponses (1)

Ravi Kumar
Ravi Kumar le 19 Mar 2019
Try using:
pdemesh(modelM,'NodeLabels','on')
Does it not show labels of node for you?
  3 commentaires
Ravi Kumar
Ravi Kumar le 24 Mar 2019
You need newer version of MATLAB to plot note labels. Please upgrade to R2016b or newer.
Regards,
Ravi
Xun Huang
Xun Huang le 19 Juin 2019
Tanks, your answer is useful for me!
Regards,
Xun

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by