필터 지우기
필터 지우기

How can I crop a graph

조회 수: 1 (최근 30일)
Ilan Prilutski
Ilan Prilutski 2019년 2월 17일
답변: Cris LaPierre 2019년 2월 17일
How can i crop a graph using GUI and then do further mathematical actions on the cropped data?
if my graph has parts of irrelevant data in the beginning and end and i want to look at the graph and use only the relevant part

답변 (1개)

Cris LaPierre
Cris LaPierre 2019년 2월 17일
The best method that comes to mind is to modify the data that is displayed (update line XData and YData) so just the relevant data is there. Once you have the X and Y data, you can do whatever you want mathematically. When you are done, you can update the line data again to see the new results.
Here's an example of what I mean.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by