Is it just me who gets this result?
figure;
stem([1 2],[pi 2], 'LineWidth', 3);
grid on;
%xlim([0 4]); %<-commenting this makes the pi disappear. replacing pi with anything else also fixes the problem!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!