
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Rishikesh Kumar Rishi has Published 1156 Articles

Rishikesh Kumar Rishi
1K+ Views
To plot vertical histogram in Python and Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a list of data points.Plot a histogram with vertical orientation.To display the figure, use show() method.Exampleimport matplotlib.pyplot as plt plt.rcParams["figure.figsize"] = [7.50, ... Read More

Rishikesh Kumar Rishi
2K+ Views
To update a Matplotlib figure as the data file changes, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Initialize variables m and n, to get a set of subplots.Create a list of colors, to plot color dynamically.Plot dynamic data points ... Read More

Rishikesh Kumar Rishi
6K+ Views
To save Matplotlib 3d roatating plots, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a new figure or activate an existing figure.Add an '~.axes.Axes' to the figure as part of a subplot arrangement.Return a tuple X, Y, Z with ... Read More

Rishikesh Kumar Rishi
2K+ Views
To draw inline labels in Matplotlib, we can use labelLines() method. −StepsSet the figure size and adjust the padding between and around the subplots.Create random data points x using numpy and a list of data points, A.Iterate the list of A, and plot X and a (iterated item) with label.Label ... Read More

Rishikesh Kumar Rishi
358 Views
To plot magintude spectrum, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Get random seed value.Initialize dt for sampling interval and find the sampling frequency.Create random data points for t.To generate noise, get nse, r, cnse and s using numpyCreate ... Read More

Rishikesh Kumar Rishi
3K+ Views
To plot magintude spectrum, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Get random seed value.Initialize dt for sampling interval and find the sampling frequency.Create random data points for t.To generate noise, get nse, r, cnse and s using numpyCreate ... Read More

Rishikesh Kumar Rishi
7K+ Views
To get the signal plot, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Get random seed value.Initialize dt for sampling interval and find the sampling frequency.Create random data points for t.To generate noise, get nse, r, cnse and s using ... Read More

Rishikesh Kumar Rishi
3K+ Views
To tweak axis labels and names orientation for 3D plots in matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create a new figure or activate an existing figure with facecolor=white.Get the current figure with 3d projection.Set X, Y and ... Read More

Rishikesh Kumar Rishi
292 Views
To plot scatter points with clover symbols in Matplotlib, we can take the following steps −Set the figure size and adjust the padding between and around the subplots.Create x, y and z data points using numpy.Plot x, y and s using scatter() method.Set X and Y axes labels.Place a legend ... Read More

Rishikesh Kumar Rishi
2K+ Views
matplotlib.pyplotThe matplotlib.pyplot is a collection of functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a figure, plots some lines in a plotting area, decorates the plot with labels, etc.In matplotlib.pyplot, various states are ... Read More