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 .

4 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Satwik
Satwik am 4 Jun. 2023
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.

Kategorien

Mehr zu Stress and Strain finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by