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?

답변 (1개)

John D'Errico
John D'Errico 2020년 11월 2일

0 개 추천

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')

댓글 수: 1

ErikJon Pérez Mardaras
ErikJon Pérez Mardaras 2020년 11월 2일
thanks for your repply, but what I am looking for is for a general solution. What you said is a particular solution when you want to mirror plot relative to an X axis, but imagine the following.
Imagine for example I have this blue curve
And I want a mirror plot relative to the purple axis, to achieve this:
How could I achieve that?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2020년 11월 2일

댓글:

2020년 11월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by