Question: How to change the format of returned entities in a Maple Workbook?

Hi, 

I have created a Maple Workbook in which two worksheets are included. One worksheet does all the work and is password protected, while the other allows the user to insert input parameters and to view results.  In the password protected worksheet, I return the required results using the following statement:

> return matrix(G),matrix(A),matrix(DR),figplot

where the last returned item, figplot, is a figure (display(..., size = [600,600])).

When the results are requested in the other worksheet, Maple stacks the results on the same line, and when the width is not enough, the results overflow into the line next to it. I have two questions:

1- How can I print the returned entities (matrix(G), matrix(A), matrix(DR), figplot) on seperate lines instead of having them stacked in the same line?

2- Although I am specifying the size of the plot, when returned, the plot is very small. 

I tried to to return the output in a column matrix as follows:

> return matrix(3,1,[matrix(G), [matrix(A),matrix(DR)], figplot])

and it worked but the column matrix brackets encompass the results (looks ugly) and the figure shown is still very small and not according to the required size.

 

Thank you very much for your help


 

Please Wait...