Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Matlab DSP | About "subplot"

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

About "subplot" - "Ye, Xiaoxia" - Jun 4 7:41:38 2008



Hi all

I have a question about "subplot". How to put some existing figures (.fig) into a
subplot figure? Specifically, say I have created 6 figures, and I wanna place them into a
figure as a array [3,2]. "subplot(3,2,1);...; subplot(3,2,2);...; ....; subplot(3,2,6);
... " works when we create and place figures concurrently. But, how to place existing
figures into the right position?  

Any clues are highly appreciated! 

 Best,
Xiaoxia Ye



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: About "subplot" - Saroj Kumar Mishra - Jun 5 6:52:08 2008

load the datapoints of the exisitng figure in the current program, and
subplot that at the right position u want.

On Wed, Jun 4, 2008 at 8:54 AM, Ye, Xiaoxia <w...@yahoo.com> wrote:

>    Hi all
>
> I have a question about "subplot". How to put some existing figures (.fig)
> into a subplot figure? Specifically, say I have created 6 figures, and I
> wanna place them into a figure as a array [3,2]. "subplot(3,2,1);...;
> subplot(3,2,2);...; ....; subplot(3,2,6); ... " works when we create and
> place figures concurrently. But, how to place existing figures into the
> right position?
>
> Any clues are highly appreciated!
>
> Best,
>
> Xiaoxia Ye
>



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: About "subplot" - Viktar Palstsiuk - Jun 5 8:35:20 2008

 You can open your existing figures in invisible and then just copy plots to
new figure, like this:

set(0,'Units','normalized')
fHandle = figure;

h = openfig('figurefile1','new','invisible');
set(gca(h),'Position', [0 .5 1 .5]);
copyobj(gca(h);,fHandle)

h = openfig('figurefile2','new','invisible');
set(gca(h),'Position', [0 0 1 .5]);
copyobj(gca(h),fHandle)

...
On 6/5/08, Saroj Kumar Mishra <s...@gmail.com> wrote:
>
>   load the datapoints of the exisitng figure in the current program, and
> subplot that at the right position u want.
>
> On Wed, Jun 4, 2008 at 8:54 AM, Ye, Xiaoxia <w...@yahoo.com>
> wrote:
>
>>    Hi all
>>
>> I have a question about "subplot". How to put some existing figures (.fig)
>> into a subplot figure? Specifically, say I have created 6 figures, and I
>> wanna place them into a figure as a array [3,2]. "subplot(3,2,1);...;
>> subplot(3,2,2);...; ....; subplot(3,2,6); ... " works when we create and
>> place figures concurrently. But, how to place existing figures into the
>> right position?
>>
>> Any clues are highly appreciated!
>>
>> Best,
>>
>> Xiaoxia Ye
>>


(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )