I am plotting a graph from strain vs stress from the tensile test experiment but it is starting form negative due to to compression forces how can I start it from positive .

7 ビュー (過去 30 日間)
please find the attached matlab script and the data from tensile test.the file which I have used is a .dat file but I was not able to attach that file so I have changed the file extension to .txt just for the reference.

回答 (1 件)

Satwik
Satwik 2023 年 6 月 4 日
I would suggest you to try the xlim function of MATLAB in your plot. This will allow you to decide the range of your plot.
For example -
xlim([0 10])
This will keep the range for your plot from 0 to 10.

カテゴリ

Help Center および File ExchangeStress and Strain についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by