|
From: | pantxo diribarne |
Subject: | Re: Subplot and Legend |
Date: | Thu, 19 Apr 2012 09:52:14 +0200 |
Hi,
Does this do the job?
## styles to be used
styles = {"-or", "-*k", ":^b", "-vg"};
## real subplot data
for ii = 1:4
subplot (2, 2, ii);
plot(1:10, styles{ii})
endfor
## dummy axes
tmp = axes (); hold on;
dumx = -1000;
dumy = -1000;
for ii = 1:4
plot(dumx, dumy, styles{ii})
endfor
legend (styles, "location", "northoutside", "orientation", "horizontal")
axis ([1 2 1 2])
axis ("off") ## hides the axes lines only
Pantxo
[Prev in Thread] | Current Thread | [Next in Thread] |