saving . . . saved usage of of line type has been deleted. usage of of line type has been hidden .
usage of of line type
Title
Question
plot(x,sin(x),'r--',linewidth=3)
in the above format we use <font size="4">'</font><font size="4" style="font-weight: bold;">--' </font><font size="2">as line style.</font>
<font size="2">what should i do if i want to plot it using dots ' . ' or plus sign '+'.</font>
<font size="2">if i palce dot or plus in place of - it is dispalying an error</font>
<font size="2">
</font>

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


Log-in to answer to this question.