help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clone axes


From: pantxo diribarne
Subject: Re: Clone axes
Date: Mon, 17 Oct 2011 14:12:47 +0200

That is indeed what I am looking for, but I don't have a clue on the way it should be written. I'll have to understand the way graphic object are built and see if I am able to write such function. Do you have an advice on the functions I should read and understand.

Pantxo

 

2011/10/17 Ben Abbott <address@hidden>
On Oct 17, 2011, at 5:46 AM, pantxo diribarne wrote:

> Hello list ;
>
> I would like to know if there is a way to clone an axes of a multiple axes figure into an other figure. Suppose I have made a first figure that way :
>
> figure(1)
> subplot(2,1,1);
> contourf(rand(10,10));
> subplot(2,1,2);
> plot(1:10);
>
> ... and I would like to clone the subplot(2,1,1) axes into another figure. Is there a way to do that?
>
> Pantxo

Matlab has a functioned named copyobj() that does this. Unfortunately, this is not yet supported by Octave.

If you a interesting in writing an equivalent function for Octave, you can ask for advice / assistance on the maintainer's email list.

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]