REGARDING THE PLOT IN MATHLAB2TIKZ
x = -5:0.2:5;
t = 0:0.02:1;
C1 = sin(x’ * t); % Example data
surf(x, t, C1);
xlabel(‘x’);
ylabel(‘t’);
zlabel(‘eta(x,t)’);
title(‘Surface Plot of eta(x,t)’);
% Export the plot as a TikZ file
matlab2tikz(‘figure1.tikz’, ‘height’, ‘figureheight’, ‘width’, ‘figurewidth’);
%%%%%%%%%%%%%%%%%%%%%%%%%%55
WHENEVER I USE THE matlab2tikz THE FIGURE IS GENRATE FOR THE FIRST COMMAND BUT USING MATLAB2TIKZ IT IS THE FOLLOWING MSG IS DISPLAYED
You will need pgfplots version 1.12 or newer to compile the TikZ output
Do i need to install pgfplot in MATLAB .If yes how ?x = -5:0.2:5;
t = 0:0.02:1;
C1 = sin(x’ * t); % Example data
surf(x, t, C1);
xlabel(‘x’);
ylabel(‘t’);
zlabel(‘eta(x,t)’);
title(‘Surface Plot of eta(x,t)’);
% Export the plot as a TikZ file
matlab2tikz(‘figure1.tikz’, ‘height’, ‘figureheight’, ‘width’, ‘figurewidth’);
%%%%%%%%%%%%%%%%%%%%%%%%%%55
WHENEVER I USE THE matlab2tikz THE FIGURE IS GENRATE FOR THE FIRST COMMAND BUT USING MATLAB2TIKZ IT IS THE FOLLOWING MSG IS DISPLAYED
You will need pgfplots version 1.12 or newer to compile the TikZ output
Do i need to install pgfplot in MATLAB .If yes how ? x = -5:0.2:5;
t = 0:0.02:1;
C1 = sin(x’ * t); % Example data
surf(x, t, C1);
xlabel(‘x’);
ylabel(‘t’);
zlabel(‘eta(x,t)’);
title(‘Surface Plot of eta(x,t)’);
% Export the plot as a TikZ file
matlab2tikz(‘figure1.tikz’, ‘height’, ‘figureheight’, ‘width’, ‘figurewidth’);
%%%%%%%%%%%%%%%%%%%%%%%%%%55
WHENEVER I USE THE matlab2tikz THE FIGURE IS GENRATE FOR THE FIRST COMMAND BUT USING MATLAB2TIKZ IT IS THE FOLLOWING MSG IS DISPLAYED
You will need pgfplots version 1.12 or newer to compile the TikZ output
Do i need to install pgfplot in MATLAB .If yes how ? matlab2tikz MATLAB Answers — New Questions