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 .
5 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Satwik
on 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.
0 Comments
See Also
Categories
Find more on Stress and Strain in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!