I imported x,y, and z values from a .csv file using the "Import Data" button. I then used the following to get X, Y, and Z data to plot. I tried doing a 2D plot as well and a 3D surface and keep getting "Error using tabular / plot Too many input arguments". What am I doing wrong? Ultimately I want to do a 3D surface plot of the X Y and Z data points. Help 🙂
XData=XYZData(:,1);YData=XYZData(:,2);ZData=XYZData(:,3);ZDataXYZDataplot(XData, ZData)%surf(XData, YData, ZData)
%plot(XData)
%plot(XYZData)
Best Answer