Hi Here is my program. I want to reduced the points of plotting on x-axis. It should start from -4 to +4.(changes required) Y-axis: 0 to 1 clc; g=0.43; z=-0.001:0.01:2.322; k=0.272; f=g*z+k; plot(log(z),f-0.272)

 채택된 답변

VBBV
VBBV 2021년 4월 1일

0 개 추천

%if
clc; g=0.43; z=-0.001:0.01:2.322; k=0.272; f=g*z+k; plot(log(z),f-0.272);xlim([-4 4])
Try this

댓글 수: 1

shafaq riaz
shafaq riaz 2021년 4월 2일
Hi u r right but I want a graph like u seen in attached picture.. Can u do some changes in my programming so that I can get a graph like this

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

추가 답변 (0개)

카테고리

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

질문:

2021년 4월 1일

댓글:

2021년 4월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by