Strip Plots in MATLAB®
How to make Strip Plots in MATLAB® with Plotly.
Plotly is known for its graphing libraries, but it's also a broader ecosystem for building interactive data apps, AI data analysis tools, and deploying and hosting Dash apps. Explore the full set of tools and platforms designed to help turn data into action. Discover Plotly.
Note: We are retiring documentation for R, MATLAB, Julia, and F#. Learn more about this change here.
Strip Plot of Frequency-Modulated Sinusoid
Plot two seconds of a frequency-modulated sinusoid in 0.25-second strips. Specify a sample rate of 1 kHz.
fs = 1000;
t = 0:1/fs:2;
x = vco(sin(2*pi*t),[10 490],fs);
strips(x,0.25,fs)
fig2plotly(gcf);
Strip Plot of Speech Signal
Load a speech signal sampled at Fs=7418Hz. The file contains the recording of a female voice saying the word "MATLAB®."
Plot the signal in 0.18-second long strips. Scale the vertical axes to 125%.
load mtlb
strips(mtlb,0.18,Fs,1.25)
fig2plotly(gcf);