File Exchange

image thumbnail

combplot

version 1.0.0.0 (1.62 KB) by Toby Driscoll
Copies axes from existing figures into a single new figure window.

0 Downloads

Updated 20 Mar 2003

View License

This is an "after the fact" way to use SUBPLOT. For example:

close('all'), ezplot('sin(t)')
figure, ezplot('cos(t)')
figure, ezplot('sin(t)+cos(t)')
combplot(1:3,[3 1])

This puts three plots into a vertical orientation in a new figure.

Comments and Ratings (5)

Because of having legends I get this error

Error using matlab.graphics.illustration.Legend/connectCopyToTree
A legend must be copied with its associated axes. Use a vector input with COPYOBJ in order
to copy the legend and axes together.

Error in combplot (line 38)
h = copyobj(c(1),onefig);

Pablo Pablo

just what I was looking for!!!

Ferit Akgul

Using the command "legend" after a plot forces combplot to copy the legend object only for that figure. Hence the output of combplot is the specified matrix of legends, not the figures

Candy Wei

Easy to use!

Tro Han

Simple tool to post-analyze multiple plots...

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux