Filling in gaps in plot
이전 댓글 표시
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.
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!
답변 (1개)
KSSV
2021년 3월 25일
0 개 추천
Read about fillmissing. Read about imresize, interp2
카테고리
도움말 센터 및 File Exchange에서 Univariate Discrete Distributions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!