function [xy]= plotData(filename,markers)%data=xlsread('data.xlsx');
[num,txt]=xlsread(filename);x=num(:,1);y=num(:,2);title(filename)xlabel(txt{1})ylabel(txt{2})if markers==trueplot(x,y,'k-o');elseplot(x,y,'k-');end
MATLAB: My script is not giving me the title, xlabel, and ylabel that I am asking so how can I fix it
functionimporting excel data
Related Question
- How to label the x and y axis in this plot using the name of the Excel columns
- How to obtain empty 3d plot
- How to read and plot this data
- How to code data in a file onto a plotted graph
- How to change LineWidth and MarkerSize in plot fit curve
- How can a draw a line between two points
- Making a countor map from a excel file
- How to plot a point on axes above current picture
Best Answer