Create a graph, and then use the text function to put some text on it, including some \\specchar commands to increase the font size and to print some Greek letters and symbols
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:12| Question number:19.12
All Answers
total answers (1)
Ch12Ex19.m
% Experiment with the text function and special
% characters
x = -2:.1:5;
y = cos(x);
plot(x,y)
text(0,-.5,'Random color and font',...
'FontSize', 20, 'Color', [.3 .5 .7])
text(0,0.2, 'Symbols: \epsilon \heartsuit')
need an explanation for this answer? contact us directly to get an explanation for this answer