I can insert a table from the Insert menu > Table ..., and I can modify all its properties etc. But is there any way I can "populate" a table with data?
Say, for example, this table, on p.167 of my set book,
http://books.google.co.uk/books?id=AKsLy0rVGuwC&pg=PA165&lpg=PA165&dq="richardson's+extrapolation+with+five+terms"+"advanced+mathematical+methods+with+maple"&source=bl&ots=ngJbnsw304&sig=D7yj31K_CMLwtvBWo62MXph0qBY&hl=en&ei=KzgWSvu9Gca5jAf2lsX_DA&sa=X&oi=book_result&ct=result&resnum=1#PPA167,M1
Now I can create and format such a table to look like that, but I don't know how to fill the cells with data except by copy and paste.
I'm assuming that I have a couple of lists of data somewhere in my Maple worksheet.
TIA
(If the above link doesn't work, then ...
Suppose I want to tabulate a set of results from some calculation/procedure, with these results being held in a list. Is there any way I can transfer this data to the cells of my table other than by copy and paste ?)
spreadsheets
Probably, it is easier to use spreadsheets for such things instead of tables. Tables, in general, serve for the worksheet layout (as in html), and not for the data.
Alec
Thanks for the very quick
Thanks for the very quick reply.
Yes, I can do that - use spreadsheets - but it was the presentation look that I was after.
In the set book mentioned in the link I gave, it said that all graphs in that book had been created using Maple, and I assumed/hoped that the table (on p.167) had also been created using Maple. I felt that my results , when presented , would look much nicer in tabular format rather than in spreadsheet form.
But many thanks for the input.
Maybe this can help you!
Take a look at the user's manual page 262 - Tables and the Classic Worksheet
In Windows
Theoretically speaking, in Windows one can insert an object into a worksheet (using Insert menu). In particular, if there is a nice table in some Excel (.xls) file, then it can be inserted - and it inserts in the center and looks nice.
Also, there is such a package, ExcelTools, that allows exporting data into an .xls file.
Practically, however, when I tried to produce the table on p. 167 that way, I got a few problems leading to series of both Maple and Excel crashes.
I guess, the manual copying and pasting is the best (if not the only) way to creating such a table in a worksheet.
Alec
Thanks Alec and Mario,I
Thanks Alec and Mario,
I think I am now getting used to the idea that what I wanted won't happen :( I had hoped that a table would be an object, with an object name and that the cells could be referenced with something like TableName[Row][Col]
I had come across that help page on Table and Classic Worksheet before, but I couldn't for the life of me figure out how to get Maple input into the cells. I finally figured that out earlier on this morning.
For anyone else reading this, put the cursor into a cell and press Ctrl+M, or Insert>"Maple Input". A Maple input prompt appears in the cell.
I can definately see the advantages of having a Maple input prompt in a cell, but I guess there may still be a bit of copy and paste to do!
I was able to format a table to look exactly like the one on p. 167, and place each list element , from the generated data, in each cell. Then highlight the cells and click on the !-button to execute.
Thanks all.
p.s. in my user manual, Table and Classic Worksheet was on p.258
SAGE
On the other hand, that would be very easy to do in Sage.
Alec
Maplets:-Examples:-ShowTable
Another option may be using Maplets:-Examples:-ShowTable. Something like
L:=[[a,0.5,0.6,0.7,0.8,0.9], [r,0.5000,0.5999,0.7003,0.8004,0.9079], [alpha,0.3315,0.3455,0.2890,0.2311,-0.6636]]: Maplets:-Examples:-ShowTable(L);That doesn't save the table in the worksheet though, and alpha is displayed as a word.
Alec