Can we draw digital waveform graph with Pyplot in python or Matlab??

I am trying to draw digital signal waveform graph for bits like 01010101010101 using pyplot in python, like Is i...

Extract line shaped objects?

I'm working on images with overlapping line shapes (left plot). Ultimately I want to segment single objects. I'm wor...

Drawing a 20x20 pixel greyscale image?

I'm currently trying to write a program that takes a user-inputted 20x20 pixel greyscale image of a digit and predic...

How do I plot the graph for |x|+|y|=1 ranging from -1 to 1?

What is the proper syntax for plotting the graph of |x|+|y|=1 ranging from -1 to 1. Those are the absolute value of ...

How to execute .m files in Octave?

How do I execute .m files in Octave? ...

How to create diagonal stripe patterns and checkerboard patterns??

Based on this question, I can confirm that horizontal patterns can be imposed onto a matrix (which in this case is a...

Markers in a stairstep graph?

I am trying to set markers for data points in a stairstep graph. What I want to get is similar to what is given in M...

How to draw pie charts with text labels inside??

How to draw pie charts with text labels inside (better if it can be placed on the center position of the correspondi...

How can I produce a MATLAB bar graph of categorical responses??

I have a 646x108 array of 646 student responses to 108 exam questions. It was a MCQ exam and all the responses are A...

How to use Matlab built-in color schemes with R??

I am working on image processing in R. At present I am working with the default color schemes (topo, terrain, rainb...

Finding where data levels off and rise times?

My data looks like this: I am trying to find the following info about my data: Rate of rise on the "transient"...

Difference between MATLAB's numel and length functions?

I know that length(x) returns max(size(x)) and numel(x) returns the total number of elements of x, but which is bett...

Python equivalent to 'hold on' in Matlab?

Is there an explicit equivalent command in Python's matplotlib for Matlab's hold on? I'm trying to plot all my graph...

Having groups of the same color in a bar graph and having the legend elements in the bars?

I have a bar graph as given below and x is a 8x3 matrix. My codes are as x=[0.2193 0.2281 0; 0.193 0.1404 0; ...

Reduce the size of the sample patches in the legend of a bar graph in Matlab?

I want to reduce the size of the sample patches in the legend of a bar graph so that they are small squares. x = r...