Filling in gaps in plot
2 views (last 30 days)
Show older comments
Hello, I am trying to generate some plots which look a little prettier than what I currently have. An example is attached.
I am ploting the spectral function in the first BZ (basically k values between
and π). I build a matrix for an NxN lattice and solve it under the assumption of PBCs. The number of k-points in this case will be
. Obviously then the bigger the lattice the better the resolution. I am constraind by how big N can be however, so I need to think of an alternative way of improving my plot.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/561613/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/561618/image.png)
I basically obtain a matrix whose elements correspond to specific k-vectors in 2D and use surf() viewed at $90^o$. Does anyone know of a smoothing method or averaging procedure which can help me fill in these gaps? I have thought of a few things but they seem rather tedious. Any help is greatly appreciated!
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!