the following code runs flawlessly on machine:
x1 = [50, 100, 150]; y1 = [50, 100, 150]; plot(x1, y1); axis([0 250 0 180]); print('-dpdf', '-r100', 'c:\file');
i both see correct graph in appearing window , in written file.
however, have 28 sets of ~214 actual (x, y) data appear bother matlab; correctly display graph in appearing window writes empty graph (with axis no data) file.
my data features quite few nan values don't seem perturb visible, windowed graph.
attempting file -> save -> pdf in figure window of graphed (but not saved) plot results in blank saved file (even when having removed print attempt code). on windows 7 machine, matlab r2015a 64-bit.
am overworking matlab or something?
why able display not write file plot?
i have saved data file by
csvwrite('c:\test_x.txt', x1); csvwrite('c:\test_y.txt', y1);