How to append an image to a plot curve
Show older comments
I have an engineering plot using MATLAB plot command, and circuit schematic png image cooresponding to this plot. I would like to create one figure with the plot and the image stacked on tope of each other.
sample plot using command like this:
plot(app.timeArray, app.vcArray, ...
'LineWidth',app.LineWidthEditField.Value, 'Color','#ea710c')

Sample image using command like this
circuit = imread(which('RC_Charge_Circuit_Voltage.png'));
imshow(circuit)

Somehow I would like to have a script with one figure combining both the plot and the circuit image stacked (or appended) into one. The final image might look like this:

Accepted Answer
More Answers (0)
Categories
Find more on White in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!