how to concatenate graphs

hello,
I have plotted 12 different graphs. Which is monthly energy for january, feb until december.
I want to combine/concatenate and generate one figure that shows energy for the whole year from jan to dec.
tq

Answers (1)

did you try
hold on
after plotting the first graph and
hold off
right after the last one?

2 Comments

The hold command will plot the graph on top of the last one.
Actually I want it to continue plotting right after the last one. Let say at the end of january, it will continue plotting for february an so on...
tq
Hope it's still relevant, but just set your x values of next data after previous data. First turn hold on. Example: January has 31 days. Make February start on the 32. After doing this for all 12 months, turn hold off and you should get a plot of 365/366 days.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Asked:

on 19 Jun 2013

Commented:

on 16 Jan 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!