Curve Fitting Toolbox コマ​ンドラインによる座標​軸の範囲と目盛り設定​について

1 回表示 (過去 30 日間)
文親
文親 2023 年 4 月 18 日
コメント済み: 文親 2023 年 4 月 19 日
Curve Fitting Toolboxで作成したグラフについて、左下が原点0となるよう座標軸の目盛りの範囲を変更したいのですが、コマンドラインの場所が分からないため変更の指示が打ち込めません。どうすればよいでしょうか

採用された回答

Hiro Yoshino
Hiro Yoshino 2023 年 4 月 19 日
Curve fitting app >> エクスポート >> Figure にエクスポート
後だと思って以下を見てみてください。
x = -1:0.1:3;
y = cos(x);
plot(x,y);
グラフィックスオブジェクトを探して、プログラミング的に各ハンドルを操作できます
Axes オブジェクトを探して:
ax = findall(groot,'Type','Axes')
ax =
Axes with properties: XLim: [-1 3] YLim: [-1 1] XScale: 'linear' YScale: 'linear' GridLineStyle: '-' Position: [0.1300 0.1100 0.7750 0.8150] Units: 'normalized' Show all properties
Xlim プロパティを変更
ax.XLim(1) = 0
ax =
Axes with properties: XLim: [0 3] YLim: [-1 1] XScale: 'linear' YScale: 'linear' GridLineStyle: '-' Position: [0.1300 0.1100 0.7750 0.8150] Units: 'normalized' Show all properties
  1 件のコメント
文親
文親 2023 年 4 月 19 日
変更できました。詳細にご回答いただきありがとうございます。

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange近似の後処理 についてさらに検索

Community Treasure Hunt

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

Start Hunting!