how to set different limit for plotting graph

2 ビュー (過去 30 日間)
raqib Iqbal
raqib Iqbal 2020 年 7 月 17 日
コメント済み: raqib Iqbal 2020 年 7 月 17 日
what syntaxes is to use if i want x axis limit 10 to 50 with gap of 10
and y axis limit 0.86 to 1.00 with a gap of 0.02
& actually i wanna plot this (but giving error)
x=[10, 20 ,30,40,50]
y=[0.987, 0.972, 0.958, 0.938, 0.919]
  2 件のコメント
KSSV
KSSV 2020 年 7 月 17 日
Read about xlim, ylim, xticks, yticks.
raqib Iqbal
raqib Iqbal 2020 年 7 月 17 日
clear all
close all
xlim=10:10:50;
ylim=0.86:0.02:1.00;
x=[10 20 30 40 50];
y=[0.987, 0.972, 0.958, 0.938, 0.919];
plot(x,y)
giving error

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File Exchange2-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