필터 지우기
필터 지우기

How to make a plot?

조회 수: 1 (최근 30일)
Sandy
Sandy 2012년 10월 12일
I have a series of data files with various columns of data (*.dat). The first column in these files has earthquake magnitudes and the third column has the dates of format mm/dd/yy hh:mm. I need to plot date vs magnitude on a scatter plot. I need to load in two data files at once. I need to do this for about 170 data files. How can I load the data then plot it using one script. So far I have:
load dates1.dat
magnitude = dates1 (:, 1);
date = dates1 (:, 3);
scatter (date, magnitude) ;

채택된 답변

Walter Roberson
Walter Roberson 2012년 10월 12일

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by