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!