Matlab修改X轴的坐标轴
matlab plot修改 xticklabels
Matlab设置非均匀刻度
index=[];
index_string={};
for i=1:size(iphi_values,1)
index(end+1) = find(iphi==iphi_values(i),1);
index_string(end+1) = cellstr(['iphi=', num2str(iphi_values(i))]);
end
xticks(index);
xticklabels(index_string)