usage of of line type
plot(x,sin(x),'r--',linewidth=3)
in the above format we use '--' as line style.
what should i do if i want to plot it using dots ' . ' or plus sign '+'.
if i palce dot or plus in place of - it is dispalying an error


Python-3.4.3 Embellishing-a-plot 05-06 min 20-30 sec 14-04-20, 12:57 p.m. Hema1122

Answers:

use plot(x,sin(x),'r+',linewidth=3) and plot(x,sin(x),'ro',linewidth=3)
14-04-20, 1:05 p.m. aditya94palaparthy@gmail.com


Click here to reply/comment online