## Forum archive 2000-2006

### Barbra Bannon - Where can I find help?

by Arnold Pizer -
Number of replies: 0
 Where can I find help? topic started 1/3/2002; 12:41:15 PMlast post 1/4/2002; 7:58:31 PM
 Barbra Bannon - Where can I find help?  1/3/2002; 12:41:15 PM (reads: 911, responses: 1) I am still trying to figure out how to format my data in tables. You see, I need to have a three column table... two containing data values and one containing input fields. Where can I find help on this? -Barbra <| Post or View Comments |>

 Michael Gage - Re: Where can I find help?  1/4/2002; 7:58:31 PM (reads: 1220, responses: 0) The problem in hermitegraphexample.pg, setMAAtutorial gives an example of how this is done: http://webhost.math.rochester.edu/webworkdocs/ww/pgView/setMAAtutorial/hermitegraphexample.pg (the graph won't display at this link, but you can see the idea) Here is the source: The relevent section is 130: This graph was created using a hermite spline by specifying points at 131: 132: \{ begintable(1+scalar( @x_val3 ) ) \} 133: \{ row('x', @x_val3)\} 134: \{ row('y', @y_val3) \} 135: \{ row('yp',@yp_val3) \} 136: \{endtable() \} The argument to begintable is simply the number of columns. (In this example calculated automatically for you from the array itself.) The macros begintable, row endtable are defined in PGbasicmacros.pl under "macros for handling tables". Your example would look something like BEGIN_TEXT\{begintable(3)\}\{row(1,5,ans_rule(10) )\}\{row(7,5,ans_rule(10) )\}\{endtable()\}END_TEXT Hope this helps. -- Mike <| Post or View Comments |>