Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Needed to Modify plot

조회 수: 1 (최근 30일)
satish kumar
satish kumar 2020년 5월 11일
마감: MATLAB Answer Bot 2021년 8월 20일
Het guys, i am attaching a code(mypr2.m) where i got good plots but i need to get plot like screenshot(26).png. I need some help to do this. Thanking you in advance.
  댓글 수: 2
satish kumar
satish kumar 2020년 5월 11일
To be more clear regarding the question,i need both theta and earth view factor vary in y-axis and x-axis should contain values of psi.
Tommy
Tommy 2020년 5월 11일
You can add arrows to mark the theta values by using annotations. See the first example here.
You could also opt for a different method of displaying the theta values, such as with color:
cmap = jet(numel(thetaV));
figure(2); hold on;
for i = 1:numel(thetaV)
plot(psi*180/pi, Fe1(i,:), 'Color', cmap(i,:));
end
xlabel('Attitude angle \psi (deg)'), ylabel('Earth view factor')
colormap(jet); cb = colorbar('Ticks', thetaV); cb.Label.String = 'Attitude angle \theta (deg)';
caxis([min(thetaV) max(thetaV)]);

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by