function createfigure1(X1, Y1) %CREATEFIGURE1(X1,Y1) % X1: vector of x data % Y1: vector of y data % Auto-generated by MATLAB on 28-Oct-2011 11:36:09 % Create figure figure1 = figure; % Create axes axes1 = axes('Parent',figure1); % Uncomment the following line to preserve the Y-limits of the axes % ylim(axes1,[-2 2]); box(axes1,'on'); hold(axes1,'all'); % Create xlabel xlabel('X-Achse'); % Create ylabel ylabel('Y'); % Create plot plot(X1,Y1,'Marker','hexagram','LineWidth',3,'Color',[0 0 1]);