Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15055

Grids

From Mark <big.dog1@att.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Grids
Date 2013-06-30 07:26 +0000
Message-ID <kqomii$p74$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Hello:
'
I am trying to get the x1 and y1 results of a basic function displayed in two columns with a grid around each x1 and y1 entry.
'
However, my result only appears with a grid around the exterior of the x1 and y1 values, and the only the column headings.
There is a vertical divider between the x1 and y1 columns, but the row dividers are missing.

What is the syntax to get the row dividers to appear?

Thanks in advance, and below is what I have tried so far:

x1 = Range[-3, 3](*Define the range of x1 values.*)

g[x1_] := x1^2(*Define the function*)

y1 = g[x1](*Calculate the y values of the function*)

Out[21]= {9, 4, 1, 0, 1, 4, 9}
'---------------------------------------
'
Grid[{{xVal, yVal}, {Column[x1], Column[y1]}}, Frame -> All](*The result of this function in columar format*)
'---------------------------------------

'
I also tried the the below statement as well but it gives the same result.

Grid[{{xVal, yVal}, {Column[x1], Column[y1]}}, Frame -> All, Dividers -> All]

Mark

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Grids Mark <big.dog1@att.net> - 2013-06-30 07:26 +0000
  Re: Grids Helen Read <readhpr@gmail.com> - 2013-07-01 09:44 +0000

csiph-web