필터 지우기
필터 지우기

how to double the data in x axis plot

조회 수: 1 (최근 30일)
Tino
Tino 2019년 5월 28일
답변: sugga singh 2021년 2월 28일
Hello
Please I have following plot on x axis : 1000, 2000, 3000, 4000, 5000, 6000
I want to double it so that it appears on graph; 2000, 4000, 6000, 8000, 10000, 120000
How do i do that?
Thank in advance
Regards

채택된 답변

Monika Phadnis
Monika Phadnis 2019년 5월 29일
x = [1000 2000 3000 4000 5000 6000];
plot(x*2,y_name); % y_name is variable name of your y-axis data

추가 답변 (1개)

sugga singh
sugga singh 2021년 2월 28일
thanks.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by