what is the function of fmt in plotting the error '
Title
Question
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">Hello Sir, </span>
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">During the plot of data with errorbar, what is the significance of this: fmt = 'bo''.</span>
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">
</span>
</span>
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">Thanks and regards,</span>
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">swati-mishra</span>
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">
</span>
</span>
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">
</span>
</span>
<span style="color: rgb(85, 85, 85); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; background-color: rgb(205, 205, 205);">
</span>
</span>
Python-3.4.3 Plotting-Data 05-06 min 10-20 sec
Answers:
Format specifies the display pattern for the data points of the graph, 'bo' means the data points will be circles filled in Blue color
fmt = The format for the data points / data lines.
See here for different possible values of fmt:
https://matplotlib.org/api/_as_gen/matplotlib.pyplot.plot.html#matplotlib.pyplot.plot
Login to add comment