Sei sulla pagina 1di 9

Page 9 - 1

GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
GRAPHING RECTANGLES
Generally, the XY Scatter graph works best for most purposes.
30
Graphing can be used for analysis and error trapping. You'll
find graphing throughout this manual.
25
8
w diagonal 6 in width of inside rectangle
Horiz_1 24 in length of large rectangle in the x direction 20 9
Vert_1 24 in height of the large rectangle in the y direction
adjust 3 unitless adjust for accuracy in convergence
15

Feet
Shooting Method
b vertical difference 10
4.2426 in 0.000
4.2426 in 23.6464 -0.018 5
7
4.1890 in 23.6509 0.002
4.1945 in 23.6505 0.000
0 10
4.1940 in 23.6505 0.000
0 5 10 15 20 25 30
4.1940 in 23.6505 0.000
Feet
Horiz leg 4.1940 in 23.6505 0.000 Figure 9-1 A rectangle within a rectangle.
Vert leg 4.2907 in vert leg of triangle row 30
Highlight your graphing ranges and click on the graphing icon in the toolbar.
Graphing Ranges Select XY (Scatter) and, in this case, select
x a b labels the icon with straight lines only.
0 0 Fractions Table
0 24 0"
24 24 0.06 1/16"
24 0 0.13 1/8"
0 0 0.19 3/16"
4.1940 0.0000 4'-2 5/16" 0.25 1/4"
0.0000 4.2907 4'-3 7/16" 0.31 5/16" row 40
19.8060 24.0000 19'-9 5/8" 0.38 3/8"
24.0000 19.7093 19'-8 1/2" 0.44 7/16"
4.1940 0.0000 0.5 1/2"
0.56 9/16"
24 24 values to 0.63 5/8"
maintain an 0.69 11/16"
Figure 9-2 Graph ranges. aspect ratio 0.75 3/4"
0.81 13/16"
0.88 7/8"
0.94 15/16"
1 1"

You can click on Next > or Finish. If you click on


Next >, be sure to make sure that your data is in
columns if that is how your data is arranged.
Figure 9-3 Selecting XY (Scatter) from the Chart Wizard window.

row 60
Page 9 - 2
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
Graphing Rectangles -- Continued
w diagonal 6 in width of inside rectangle
Horiz_1 24 in length of large rectangle in the x direction
Vert_1 24 in height of the large rectangle in the y direction
adjust 3 unitless adjust for accuracy in convergence

Shooting Method
b vert difference 30
4.2426 in 0.000
4.2426 in 23.6464 -0.018 25 row 70
4.1890 in 23.6509 0.002 8
4.1945 in 23.6505 0.000
20 9
4.1940 in 23.6505 0.000
4.1940 in 23.6505 0.000
Horiz leg 4.1940 in 23.6505 0.000 15

Feet
Vert leg 4.2907 in vert leg of triangle
10
x a b labels
0 0
0 24 5 row 80
7
24 24
24 0 0 6
10
0 0 0 5 10 15 20 25 30
2.5260 0.0000 2'-6 5/16" Feet
0.0000 4.2907 4'-3 7/16" Figure 9-4 A rectangle within a rectangle.
21.4740 24.0000 21'-5 11/16"
24.0000 19.7093 19'-8 1/2"
2.5260 0.0000

24 24 values to row 90
maintain an
Fractions Table aspect ratio
0 "
0.0625 1/16"
0.125 1/8"
0.1875 3/16" To attach labels to the
0.25 1/4" rectangle, click on the
0.3125 5/16" shape and then select
0.375 3/8" Format Data Series…
0.4375 7/16" row 100
0.5 1/2"
0.5625 9/16"
0.625 5/8"
0.6875 11/16"
0.75 3/4"
0.8125 13/16"
0.875 7/8"
0.9375 15/16"
1 1" Figure 9-5 The graph formatting menu.
row 110
Page 9 - 3
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
Graphing Rectangles -- Continued

Select Data Labels and click on


Show label

This yields numerical labels that are attached to the


points they reference. row 120

row 130

Figure 9-6 Formatting the graph.

row 140
To alter these labels to the foot and inch labels,
click on the label to highlight it.
Figure 9-7 Setting up graph data labels.

Enter an equals sign "="


in the edit bar. Reference
the appropriate cell to get
this: row 150

Figure 9-8 Creating the data label.

This yields a label that


will follow the point it
references

Figure 9-9 The finished data label.


Note: I did check this in AutoCAD to make
sure that my math is accurate. row 160
Page 9 - 4
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
3D ARRAY
This is a method of presenting information of a three dimensional
data. In this example, Z represents individual planes. In a following
example, a 3-dimensional spiral is represented where Z represents
the length of the spiral.

We use an apect ratio to allow adjustment for convenient viewing.

In this case, an aspect ratio of 0, 0 allows us to superimpose


the three curves.

aspect_x 0 unitless inactive input for demonstration


aspect_y 0 unitless inactive input for demonstration

Figure 9-10 Superimposed data curves.

In this case, an aspect ration of 0.5, 0.5 is used to display the


ability to show the three curves on three different planes. 2.50

aspect_x 0.5 unitless this input is active 2.00


aspect_y 0.5 unitless this input is active

The grid lines are part of the graphing math. They are used to 1.50
help relate the three curves to each other.
y_1
1.00
y_2
y_3

0.50

0.00
0.0000 0.5000 1.0000 1.5000 2.0000 2.5000 3.0000

-0.50

-1.00

Figure 9-11 Data curves in an array.

row 210
Page 9 - 5
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
3D ARRAY -- Continued
X 1 is an arbitrary Z is a hard number
array of numbers that defines a plane =SIN(X_1*2*PI())
to plot the =SIN(X_1*PI()) =Y_1+Z_1*aspect_y =Y_2+Z_2*aspect_y
curves against =X_1+ Z_1*$aspect_x =X_2+ Z_2*$aspect_x

X_1 Y_1 Z_1 x_1 y_1 Y_2 Z_2 x_2 y_2 Y_3 Z_3 x_3 y_3
0 0.0000 0.5 0.2500 0.2500 0.0000 1 0.5000 0.500 0.00 2 1.00 1.00
0.0278 0.0872 0.5 0.2778 0.3372 0.1736 1 0.5278 0.674 0.26 2 1.03 1.26
0.0556 0.1736 0.5 0.3056 0.4236 0.3420 1 0.5556 0.842 0.50 2 1.06 1.50 row 220
0.0833 0.2588 0.5 0.3333 0.5088 0.5000 1 0.5833 1.000 0.71 2 1.08 1.71
0.1111 0.3420 0.5 0.3611 0.5920 0.6428 1 0.6111 1.143 0.87 2 1.11 1.87
0.1389 0.4226 0.5 0.3889 0.6726 0.7660 1 0.6389 1.266 0.97 2 1.14 1.97
0.1667 0.5000 0.5 0.4167 0.7500 0.8660 1 0.6667 1.366 1.00 2 1.17 2.00
0.1944 0.5736 0.5 0.4444 0.8236 0.9397 1 0.6944 1.440 0.97 2 1.19 1.97
0.2222 0.6428 0.5 0.4722 0.8928 0.9848 1 0.7222 1.485 0.87 2 1.22 1.87
0.2500 0.7071 0.5 0.5000 0.9571 1.0000 1 0.7500 1.500 0.71 2 1.25 1.71
0.2778 0.7660 0.5 0.5278 1.0160 0.9848 1 0.7778 1.485 0.50 2 1.28 1.50
0.3056 0.8192 0.5 0.5556 1.0692 0.9397 1 0.8056 1.440 0.26 2 1.31 1.26
0.3333 0.8660 0.5 0.5833 1.1160 0.8660 1 0.8333 1.366 0.00 2 1.33 1.00 row 230
0.3611 0.9063 0.5 0.6111 1.1563 0.7660 1 0.8611 1.266 -0.26 2 1.36 0.74
0.3889 0.9397 0.5 0.6389 1.1897 0.6428 1 0.8889 1.143 -0.50 2 1.39 0.50
0.4167 0.9659 0.5 0.6667 1.2159 0.5000 1 0.9167 1.000 -0.71 2 1.42 0.29
0.4444 0.9848 0.5 0.6944 1.2348 0.3420 1 0.9444 0.842 -0.87 2 1.44 0.13
0.4722 0.9962 0.5 0.7222 1.2462 0.1736 1 0.9722 0.674 -0.97 2 1.47 0.03
0.5000 1.0000 0.5 0.7500 1.2500 0.0000 1 1.0000 0.500 -1.00 2 1.50 0.00
0.5278 0.9962 0.5 0.7778 1.2462 -0.1736 1 1.0278 0.326 -0.97 2 1.53 0.03
0.5556 0.9848 0.5 0.8056 1.2348 -0.3420 1 1.0556 0.158 -0.87 2 1.56 0.13
0.5833 0.9659 0.5 0.8333 1.2159 -0.5000 1 1.0833 0.000 -0.71 2 1.58 0.29
0.6111 0.9397 0.5 0.8611 1.1897 -0.6428 1 1.1111 -0.143 -0.50 2 1.61 0.50 row 240
0.6389 0.9063 0.5 0.8889 1.1563 -0.7660 1 1.1389 -0.266 -0.26 2 1.64 0.74
0.6667 0.8660 0.5 0.9167 1.1160 -0.8660 1 1.1667 -0.366 0.00 2 1.67 1.00
0.6944 0.8192 0.5 0.9444 1.0692 -0.9397 1 1.1944 -0.440 0.26 2 1.69 1.26
0.7222 0.7660 0.5 0.9722 1.0160 -0.9848 1 1.2222 -0.485 0.50 2 1.72 1.50
0.7500 0.7071 0.5 1.0000 0.9571 -1.0000 1 1.2500 -0.500 0.71 2 1.75 1.71
0.7778 0.6428 0.5 1.0278 0.8928 -0.9848 1 1.2778 -0.485 0.87 2 1.78 1.87
0.8056 0.5736 0.5 1.0556 0.8236 -0.9397 1 1.3056 -0.440 0.97 2 1.81 1.97
0.8333 0.5000 0.5 1.0833 0.7500 -0.8660 1 1.3333 -0.366 1.00 2 1.83 2.00
0.8611 0.4226 0.5 1.1111 0.6726 -0.7660 1 1.3611 -0.266 0.97 2 1.86 1.97
0.8889 0.3420 0.5 1.1389 0.5920 -0.6428 1 1.3889 -0.143 0.87 2 1.89 1.87 row 250
0.9167 0.2588 0.5 1.1667 0.5088 -0.5000 1 1.4167 0.000 0.71 2 1.92 1.71
0.9444 0.1736 0.5 1.1944 0.4236 -0.3420 1 1.4444 0.158 0.50 2 1.94 1.50
0.9722 0.0872 0.5 1.2222 0.3372 -0.1736 1 1.4722 0.326 0.26 2 1.97 1.26
1.0000 0.0000 0.5 1.2500 0.2500 0.0000 1 1.5000 0.500 0.00 2 2.00 1.00
max x grid 1.0000
max y grid 1.0000 0 0 0 0 0 0
0.2500 0.2500 0.5000 0.5000 1.00 1.00

0.5000 0 1 0 1.5 0
1.5000 1.0000 2.0000 1.0000 2.50 1.00 row 260
Page 9 - 6
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
3D SPIRAL
This example graphs three bolt threads in 3D. 2.5000

aspect_x 5 unitless 2.0000

aspect_y 5 unitless
1.5000

D_threads 0.9729 in
Hard =(COS(Number/6*PI())) Number series 1.0000

Number =(SIN(Number/6*PI())) $D_threads * Sine


0.5000
series $D_threads * Cosine =X + Z*$a=Z + Z*$aspect_z
0.0000
Sine Cosine X Y Z x y -1.0000 -0.5000 0.0000 0.5000 1.0000 1.5000 2.0000 2.5000

0 0.0000 1.0000 0.9729 0.0000 0.0000 0.9729 0.0000 -0.5000


1 0.5000 0.8660 0.8426 0.4865 0.0069 0.8773 0.5212
2 0.8660 0.5000 0.4865 0.8426 0.0139 0.5559 0.9120 -1.0000
3 1.0000 0.0000 0.0000 0.9729 0.0208 0.1042 1.0771
4 0.8660 -0.5000 -0.4865 0.8426 0.0278 -0.3476 0.9815 Figure 9-12 A 3D spiral.
5 0.5000 -0.8660 -0.8426 0.4865 0.0347 -0.6690 0.6601
6 0.0000 -1.0000 -0.9729 0.0000 0.0417 -0.7646 0.2083
7 -0.5000 -0.8660 -0.8426 -0.4865 0.0486 -0.5995 -0.2434 row 280
8 -0.8660 -0.5000 -0.4865 -0.8426 0.0556 -0.2087 -0.5648
9 -1.0000 0.0000 0.0000 -0.9729 0.0625 0.3125 -0.6604
10 -0.8660 0.5000 0.4865 -0.8426 0.0694 0.8337 -0.4954
11 -0.5000 0.8660 0.8426 -0.4865 0.0764 1.2245 -0.1045
12 0.0000 1.0000 0.9729 0.0000 0.0833 1.3896 0.4167
13 0.5000 0.8660 0.8426 0.4865 0.0903 1.2940 0.9379
14 0.8660 0.5000 0.4865 0.8426 0.0972 0.9726 1.3287
15 1.0000 0.0000 0.0000 0.9729 0.1042 0.5208 1.4938
16 0.8660 -0.5000 -0.4865 0.8426 0.1111 0.0691 1.3981
17 0.5000 -0.8660 -0.8426 0.4865 0.1181 -0.2523 1.0767 row 290
18 0.0000 -1.0000 -0.9729 0.0000 0.1250 -0.3479 0.6250
19 -0.5000 -0.8660 -0.8426 -0.4865 0.1319 -0.1829 0.1733
20 -0.8660 -0.5000 -0.4865 -0.8426 0.1389 0.2080 -0.1481
21 -1.0000 0.0000 0.0000 -0.9729 0.1458 0.7292 -0.2438
22 -0.8660 0.5000 0.4865 -0.8426 0.1528 1.2504 -0.0787
23 -0.5000 0.8660 0.8426 -0.4865 0.1597 1.6412 0.3121
24 0.0000 1.0000 0.9729 0.0000 0.1667 1.8063 0.8333
25 0.5000 0.8660 0.8426 0.4865 0.1736 1.7106 1.3545
26 0.8660 0.5000 0.4865 0.8426 0.1806 1.3892 1.7454
27 1.0000 0.0000 0.0000 0.9729 0.1875 0.9375 1.9104 row 300
28 0.8660 -0.5000 -0.4865 0.8426 0.1944 0.4858 1.8148
29 0.5000 -0.8660 -0.8426 0.4865 0.2014 0.1644 1.4934
30 0.0000 -1.0000 -0.9729 0.0000 0.2083 0.0687 1.0417
31 -0.5000 -0.8660 -0.8426 -0.4865 0.2153 0.2338 0.5899
32 -0.8660 -0.5000 -0.4865 -0.8426 0.2222 0.6246 0.2685
33 -1.0000 0.0000 0.0000 -0.9729 0.2292 1.1458 0.1729
34 -0.8660 0.5000 0.4865 -0.8426 0.2361 1.6670 0.3380
35 -0.5000 0.8660 0.8426 -0.4865 0.2431 2.0579 0.7288
36 0.0000 1.0000 0.9729 0.0000 0.2500 2.2229 1.2500
row 310
Page 9 - 7
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
3D BOX -- SIMPLE PROJECTION
Vpoint 45 degrees This is just one method of showing 3D data in a 2D graph.
0.785 rad The image of a box is fairly easy to manipulate.
x 0.70711 Notice that the X, Y, and Z axis are displayed in a different
y 0.70711 color. Gridlines could be shown in a third color with lines
formatted to be much thinner than the box outline.
LX 10
LY 10 The box can be replaced with another figure or data points.
LZ 10 depth Separate data groups are separated by a blank row.
row 320
x y z 20

x axis -0.5 0
11 0 15

y axis 0 -0.5 10
0 11
5
z axis 0 0
7.07106781 7.0710678119 0
-0.5 1.5 3.5 5.5 7.5 9.5 11.5 13.5 15.5 17.5 19.5 row 330
0 0 -5
10 0 Figure 9-13 Set the aspect ratio for this 3D box in Lx, Ly, and Lz above.
10 10
0 10
0 0

7.07106781 7.07106781
17.0710678 7.07106781
17.0710678 17.0710678
7.07106781 17.0710678 row 340
7.07106781 7.07106781

0 0
0 7.07106781

10 0
17.0710678 7.07106781

10 10
17.0710678 17.0710678 row 350

0 10
7.07106781 17.0710678

row 360
Page 9 - 8
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
3D BOX -- ORTHOGRAPHIC PROJECTION
This is another method of showing 3D data in a 2D graph. The inputs are the same as AutoCAD inputs and
the results are similar to AutoCAD views. The Z-axis is always vertical.

Notice that in the Excel the X, Y, and Z axis are displayed in a different color. Gridlines could
be shown in a third color with lines formatted to be much thinner than the box outline. VIEW
ALONG +Z
The image of a box is fairly easy to manipulate. The box can be replaced with another figure Z
or data plots. Separate data groups are separated by a blank row.
row 370

VIEW
VPoint ALONG
VPx -0.2 +Y
VPy -0.2
VPz 1

LX 10
LY 10 Y row 380
LZ 10 STANDAR
D VIEW OF
5 2 THE XY
PLANE

8
X VIEW ALONG +X

Figure 9-14 The diagram of ACAD type


orthographic views.
Conditional formating to row 390
Figure 9-15 Graph of an orthographic box. highlight logic choice
Logic Table
1, 1, 1 0, 1, 1 1, 0, 0 1, 1, 0 0, 1, 0 1, 0, 1 -1,-1,0 -1,-1,1 -1,0,- -1,0,- -1,-1,-1
logic 0 0 0 0 0 0 0 1 0 0 0 0
VPx mult x -1 -1 1 -1 -1 1 1 1 1 1 1 -1
VPx mult y -1 1 -1 1 1 -1 1 1 -1 1 -1 1
VPy mult x 1 -1 1 1 1 1 -1 -1 1 1 -1 -1
VPy mult y -1 -1 1 1 1 1 1 1 1 -1 -1 -1

VPx mult x 0 0 0 0 0 0 0 1 0 0 0 0
VPx mult y 0 0 0 0 0 0 0 1 0 0 0 0
VPy mult x 0 0 0 0 0 0 0 -1 0 0 0 0
VPy mult y 0 0 0 0 0 0 0 1 0 0 0 0

logic results
x 1
y 1
x -1
y 1
row 410
Page 9 - 9
GRAPHING
9 Christy
19:36
02/15/19

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers 409414528.xls
A B C D E F G H I J K L M N
3D BOX -- ORTHOGRAPHIC PROJECTION -- Continued
0, 0, 0 0, 0, -1 1, 0, 0 Reference
0 0 0 Radians Degrees
1 -1 0 0.524 30
0 0 0 0.785 45
0 0 -1 1.047 60
1 1 0 1.571 90
logic results 3.142 180
0 0 0 0
0 0 0 0 row 420
0 0 0 0
0 0 0 0

0.276 calculations x y output to graph y


VPx 0.272 x axis 0.70711 0.68041 x axis 0.70711 0.6804
VPy 0.272 y axis 0.70711 0.68041 y axis -0.7071 0.6804
VPz 0.283 z axis 0 0.27217 z axis 0 0.2722

X, Y, and Z axis
multiplier 1.1 row 430
max 10
max mult 11 Note that the graph makes use of two X-axis to conserve
space in the template (and printout).
x y y2 x y
x axis 0 0 along x -2.35703 2.268
7.77819 7.48454 4.714057 ###

y axis 0 0 -4.71406 4.5361


-7.77819 7.48454 2.357028 11.34
row 440
z axis 0 0 along y 2.35703 2.268
0 2.99382 -4.71406 ###

standoff -0.8556 -0.8233 4.71406 4.5361


-2.35703 11.3402
0.8556 -0.3293
7.071085 6.8041
top plane 0 0 7.071085 9.5258
7.07108549 6.80413163
0 13.60826 0 13.608 row 450
-7.0710855 6.80413163 0 16.33
0 0
-7.07109 6.8041
bottom plane 0 2.72165275 -7.07109 9.5258
7.07108549 9.52578438
0 16.329916
-7.0710855 9.52578438
0 2.72165275

row 460

Potrebbero piacerti anche