subplot with multiplot

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

subplot with multiplot

shivax
This post was updated on .
hi,

it's possible to execute multiplot in subplot?

https://gyazo.com/146ebdf8e5c47e37e117dfc270d8114d


in every subplot I want to plot 2 chart

it's possible?

how can i do it?

thank you





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: subplot with multiplot

mmuetzel
shivax wrote

> hi,
>
> it's possible to execute multiplot in subplot?
>
> https://gyazo.com/146ebdf8e5c47e37e117dfc270d8114d
>
>
> in every subplot I want to plot 2 chart
>
> it's possible?

Yes, it is :-)


shivax wrote
> how can i do it?

You can tread the axes handles returned by subplot like you would tread any
other axes handle.

Markus




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: subplot with multiplot

shivax
thank you for answer

can you give me an example?

subplot (441, "align");

plot(x,Equity,'c');

can you write to continue it?



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: subplot with multiplot

mmuetzel
You could try:
hax(1) = subplot (441, "align");
plot (hax(1), 1:4, 1:4, 'c');
hold (hax(1), "all");
plot (hax(1), 1:4, 4:-1:1, 'b');

Markus




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: subplot wioth different plot

Doug Stewart-4
In reply to this post by shivax


On Mon, Dec 3, 2018 at 9:49 AM shivax <[hidden email]> wrote:
hi,

it's possible to multiplot in subplot?

https://gyazo.com/146ebdf8e5c47e37e117dfc270d8114d


in every subplot I want to plot 2 chart

it's possible?

how can i do it?

thank you





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Did you find an answer yet?


--
DASCertificate for 206392



Reply | Threaded
Open this post in threaded view
|

Re: subplot wioth different plot

shivax
thank you for answer

see this pic:

https://gyazo.com/057ecb87ad4b642400be7f9a72d229f5

i want 2 graphs in a single subplot



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

Re: subplot wioth different plot

Doug Stewart-4


On Fri, Dec 7, 2018 at 6:39 PM shivax <[hidden email]> wrote:
thank you for answer

see this pic:

https://gyazo.com/057ecb87ad4b642400be7f9a72d229f5

i want 2 graphs in a single subplot

 did you try
hold on




Reply | Threaded
Open this post in threaded view
|

Re: subplot wioth different plot

mmuetzel
In reply to this post by shivax
You could use something like:
hf = figure;
hax1(1) = subplot(4, 3, 1, "parent", hf);
plot(hax1(1), 1:2);
hax1(2) = subplot(4, 3, 4, "parent", hf);
plot(hax1(2), 1:2);
hax2 = subplot(2, 3, 2, "parent", hf);
plot(hax2, 1:2);
hax4 = subplot(2, 3, 4, "parent", hf);
plot(hax4, 1:2);

I hope you can continue from there.

Markus



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html