Discussion:
subplot wioth different plot
shivax
2018-12-03 14:48:53 UTC
Permalink
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
mmuetzel
2018-12-04 07:51:08 UTC
Permalink
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 :-)
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
shivax
2018-12-04 08:53:41 UTC
Permalink
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
mmuetzel
2018-12-05 16:28:33 UTC
Permalink
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
Doug Stewart
2018-12-07 18:53:40 UTC
Permalink
Post by shivax
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
--
http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Did you find an answer yet?
--
DAS[image: Certificate for 206392]

<https://linuxcounter.net/user/206392.html>
shivax
2018-12-07 23:39:28 UTC
Permalink
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
mmuetzel
2018-12-10 15:39:40 UTC
Permalink
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
Doug Stewart
2018-12-10 13:03:38 UTC
Permalink
Post by shivax
thank you for answer
https://gyazo.com/057ecb87ad4b642400be7f9a72d229f5
i want 2 graphs in a single subplot
did you try
hold on


<https://linuxcounter.net/user/206392.html>

Loading...