Mirror plotting a curve
조회 수: 1 (최근 30일)
이전 댓글 표시
I would like to plot mirror the blue curve from the x=0 vertical axis

So to achieve something like that:

Is there any way of achieving that?
댓글 수: 0
답변 (1개)
John D'Errico
2020년 11월 2일
You must have plotted the curve using a call like
plot(x,y,'-b')
But then, what would the following do?
plot(-x,y,'-b')
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!