Question: How to manage the size of a dualaxisplot in DocumentTools:-Tabulate?

Hi

I use DocumentTools:-Tabulate to display two plots side by side, each of them in separate cells.
For instance

wp := 800:
wt := 90:

p := plot(x, x=0..1, axes=boxed, size=[wp, 400]):
q := plot(x^2, x=0..1, axes=boxed, size=[wp, 400]):
DocumentTools:-Tabulate([p, q], width=wt)

I'm able to adjust wp in such a way that, for a given value of wt, each plot "fills" the cell in which it is located (first example in the attached file).

But it seems that this adjustement is not possible if p and/or q is not a "plot" structure but a "dualaxisplot" structure (second example in the attached file).

Does it exist a workaround for this?
TIA


restart:

interface(version)

`Standard Worksheet Interface, Maple 2015.2, Mac OS X, December 21 2015 Build ID 1097895`

(1)

with(DocumentTools):
with(DocumentTools:-Layout):

wp := 800:
wt := 90:

p := plot(x, x=0..1, axes=boxed, size=[wp, 400]):
q := plot(x^2, x=0..1, axes=boxed, size=[wp, 400]):
Tabulate([p, q], width=wt)

r := plots:-dualaxisplot(p, q, size=[wp, 400]):
Tabulate([r, p], width=wt)

 


Download PlotSize.mw

 

Please Wait...