Ways of plotting a matrix
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Marcus Rosales
le 6 Fév 2020
Commenté : Marcus Rosales
le 22 Fév 2020
Hello, I am working on a simulation which diagonalizes a matrix for me, then I take the eigen vectors of said matrix and build a density of states. For computational purposes this is just an NxN matrix and each elements magnitude is the density of states at a specific location.
I am wondering if anyone has a good way to plot these values such that there is an interpolation between neighboring values and decent resolution. I am currently using pcolor and setting this to interpolate, but this does not seem to have the resolution I am after. Maybe there is a way to increase resolution and I am not aware of it?
Any ideas will be appreciated!
0 commentaires
Réponse acceptée
Sai Bhargav Avula
le 20 Fév 2020
Modifié(e) : Sai Bhargav Avula
le 22 Fév 2020
Hi,
With my understanding of the question, I believe interpolating the N*N matrix before passing to the pcolor will help in increasing the resolution.
I would also recommend to look at the following density plotting function,
Hope this helps!
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!