Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

matlab plot(x_data)

6 Ansichten (letzte 30 Tage)
linda cummings cummingslinda14@gmail.com
Geschlossen: Walter Roberson am 6 Okt. 2016
Line = get(gca, 'k');
x_data = Line.XData;
y_data = Line.YData;
id = ~(isnan(x_data(:)) | isnan(y_data(:)));
figure; plot(x_data(id), y_data(id))
firstid = find(id, 1);
figure;
plot(x_data(firstid:(firstid + sum(id) - 1)), y_data(id))

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by