Você está na página 1de 9

Page 9 - 1

GRAPHING

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
B

GRAPHING RECTANGLES
Generally, the XY Scatter graph works best for most purposes.
Graphing can be used for analysis and error trapping. You'll
find graphing throughout this manual.
w diagonal
Horiz_1
Vert_1
adjust

6
24
24
3

Shooting Method
b
4.2426
4.2426
4.1890
4.1945
4.1940
4.1940
Horiz leg
4.1940
Vert leg
4.2907

in
in
in
unitless

30

25

19'-9 5/8"

20

19'-8 1/2"

15

10

vertical
in
in
in
in
in
in
in
in

Graphing Ranges
x
a
b
0
0
0
24
24
24
24
0
0
0
4.1940
0.0000
0.0000
4.2907
19.8060
24.0000
24.0000
19.7093
4.1940
0.0000
24

width of inside rectangle


length of large rectangle in the x direction
height of the large rectangle in the y direction
adjust for accuracy in convergence

Feet

24

Figure 9-2 Graph ranges.

difference
0.000
5
4'-3 7/16"
23.6464
-0.018
23.6509
0.002
4'-2 5/16"
0
23.6505
0.000
0
10
20
30
23.6505
0.000
Feet
23.6505
0.000
23.6505
0.000
Figure 9-1 A rectangle within a rectangle.
vert leg of triangle
row 30
Highlight your graphing ranges and click on the graphing icon in the toolbar.
Select XY (Scatter) and, in this case, select
labels
the icon with straight lines only.
Fractions Table
0 "
0.1 1/16"
0.1 1/8"
0.2 3/16"
4'-2 5/16"
0.3 1/4"
4'-3 7/16"
0.3 5/16"row 40
19'-9 5/8"
0.4 3/8"
19'-8 1/2"
0.4 7/16"
0.5 1/2"
0.6 9/16"
values to
0.6 5/8"
maintain an
0.7 11/16"
aspect ratio
0.8 3/4"
0.8 13/16"
0.9 7/8"
0.9 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

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

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
4.2426
4.2426
4.1890
4.1945
4.1940
4.1940
Horiz leg
4.1940
Vert leg
4.2907

in
in
in
in
in
in
in
in

difference
0.000
23.6464
-0.018
23.6509
0.002
23.6505
0.000
23.6505
0.000
23.6505
0.000
23.6505
0.000
vert leg of triangle

labels

30

vert

row 70

25

21.4740

Feet

20

24.0000

15

10

a
0
0
24
24
0
2.5260
0.0000
21.4740
24.0000
2.5260

0
24
24
0
0

24

24

0
0

0.0000
4.2907
24.0000
19.7093
0.0000

"
1/16"
1/8"
3/16"
1/4"
5/16"
3/8"
7/16"
1/2"
9/16"
5/8"
11/16"
3/4"
13/16"
7/8"
15/16"
1"

2.5260
5
10

row 80
15

20

25

30

Feet

2'-6 5/16"
4'-3 7/16"
21'-5 11/16"
19'-8 1/2"

Figure 9-4 A rectangle within a rectangle.

values to
maintain an
aspect ratio

Fractions Table
0
0.0625
0.125
0.1875
0.25
0.3125
0.375
0.4375
0.5
0.5625
0.625
0.6875
0.75
0.8125
0.875
0.9375
1

4'-3 7/16"

row 90

To attach labels to the


rectangle, click on the
shape and then select
Format Data Series
row 100

Figure 9-5 The graph formatting menu.


row 110

Page 9 - 3

GRAPHING

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

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

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

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
aspect_y

0 unitless
0 unitless

inactive input for demonstration


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.

aspect_x
aspect_y

0.5 unitless
0.5 unitless

this input is active


this input is active

The grid lines are part of the graphing math. They are used to
help relate the three curves to each other.

2.5

2.0

1.5

y_1

1.0

y_2
y_3

0.5

0.0
0.0

1.0

2.0

3.0

-0.5

-1.0

Figure 9-11 Data curves in an array.


row 210

Page 9 - 5

GRAPHING

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

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
curves against
=X_1+ Z_1*$aspect_x
X_1
0
0.0278
0.0556
0.0833
0.1111
0.1389
0.1667
0.1944
0.2222
0.2500
0.2778
0.3056
0.3333
0.3611
0.3889
0.4167
0.4444
0.4722
0.5000
0.5278
0.5556
0.5833
0.6111
0.6389
0.6667
0.6944
0.7222
0.7500
0.7778
0.8056
0.8333
0.8611
0.8889
0.9167
0.9444
0.9722
1.0000
max x grid
max y grid

Y_1

Z_1
0.0000
0.0872
0.1736
0.2588
0.3420
0.4226
0.5000
0.5736
0.6428
0.7071
0.7660
0.8192
0.8660
0.9063
0.9397
0.9659
0.9848
0.9962
1.0000
0.9962
0.9848
0.9659
0.9397
0.9063
0.8660
0.8192
0.7660
0.7071
0.6428
0.5736
0.5000
0.4226
0.3420
0.2588
0.1736
0.0872
0.0000
1.0000
1.0000

x_1
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5

y_1

Y_2
0.0000
0.1736
0.3420
0.5000
0.6428
0.7660
0.8660
0.9397
0.9848
1.0000
0.9848
0.9397
0.8660
0.7660
0.6428
0.5000
0.3420
0.1736
0.0000
-0.1736
-0.3420
-0.5000
-0.6428
-0.7660
-0.8660
-0.9397
-0.9848
-1.0000
-0.9848
-0.9397
-0.8660
-0.7660
-0.6428
-0.5000
-0.3420
-0.1736
0.0000

=Y_2+Z_2*aspect_y
=X_2+ Z_2*$aspect_x

Z_2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

x_2
0.5000
0.5278
0.5556
0.5833
0.6111
0.6389
0.6667
0.6944
0.7222
0.7500
0.7778
0.8056
0.8333
0.8611
0.8889
0.9167
0.9444
0.9722
1.0000
1.0278
1.0556
1.0833
1.1111
1.1389
1.1667
1.1944
1.2222
1.2500
1.2778
1.3056
1.3333
1.3611
1.3889
1.4167
1.4444
1.4722
1.5000

y_2
0.500
0.674
0.842
1.000
1.143
1.266
1.366
1.440
1.485
1.500
1.485
1.440
1.366
1.266
1.143
1.000
0.842
0.674
0.500
0.326
0.158
0.000
-0.143
-0.266
-0.366
-0.440
-0.485
-0.500
-0.485
-0.440
-0.366
-0.266
-0.143
0.000
0.158
0.326
0.500

Y_3 Z_3 x_3 y_3


0.00
2 1.00 1.00
0.26
2 1.03 1.26
0.50
2 1.06 1.50 row 220
0.71
2 1.08 1.71
0.87
2 1.11 1.87
0.97
2 1.14 1.97
1.00
2 1.17 2.00
0.97
2 1.19 1.97
0.87
2 1.22 1.87
0.71
2 1.25 1.71
0.50
2 1.28 1.50
0.26
2 1.31 1.26
0.00
2 1.33 1.00 row 230
###
2 1.36 0.74
###
2 1.39 0.50
###
2 1.42 0.29
###
2 1.44 0.13
###
2 1.47 0.03
###
2 1.50 0.00
###
2 1.53 0.03
###
2 1.56 0.13
###
2 1.58 0.29
###
2 1.61 0.50 row 240
###
2 1.64 0.74
0.00
2 1.67 1.00
0.26
2 1.69 1.26
0.50
2 1.72 1.50
0.71
2 1.75 1.71
0.87
2 1.78 1.87
0.97
2 1.81 1.97
1.00
2 1.83 2.00
0.97
2 1.86 1.97
0.87
2 1.89 1.87 row 250
0.71
2 1.92 1.71
0.50
2 1.94 1.50
0.26
2 1.97 1.26
0.00
2 2.00 1.00

0.2500
0.2778
0.3056
0.3333
0.3611
0.3889
0.4167
0.4444
0.4722
0.5000
0.5278
0.5556
0.5833
0.6111
0.6389
0.6667
0.6944
0.7222
0.7500
0.7778
0.8056
0.8333
0.8611
0.8889
0.9167
0.9444
0.9722
1.0000
1.0278
1.0556
1.0833
1.1111
1.1389
1.1667
1.1944
1.2222
1.2500

0.2500
0.3372
0.4236
0.5088
0.5920
0.6726
0.7500
0.8236
0.8928
0.9571
1.0160
1.0692
1.1160
1.1563
1.1897
1.2159
1.2348
1.2462
1.2500
1.2462
1.2348
1.2159
1.1897
1.1563
1.1160
1.0692
1.0160
0.9571
0.8928
0.8236
0.7500
0.6726
0.5920
0.5088
0.4236
0.3372
0.2500

0
0.2500

0
0.2500

0
0
0.5000 #####

0
0
1.00 1.00

0.5000
1.5000

0
1.0000

1
0
2.0000 #####

1.5
0
2.50 1.00 row 260

Page 9 - 6

GRAPHING

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

2.0

3.0

3D SPIRAL
This example graphs three bolt threads in 3D.
2.5

aspect_x
aspect_y

5 unitless
5 unitless

2.0

1.5

D_threads
0.9729 in
1.0
Hard
=(COS(Number/6*PI()))
Number series
Number
=(SIN(Number/6*PI()))
$D_threads * Sine
0.5
series
$D_threads * Cosine
=X + Z*$aspect_x
=Z + Z*$aspect_z
0.0

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

Sine
Cosine
X
0.0000
1.0000
0.5000
0.8660
0.8660
0.5000
1.0000
0.0000
0.8660
-0.5000
0.5000
-0.8660
0.0000
-1.0000
-0.5000
-0.8660
-0.8660
-0.5000
-1.0000
0.0000
-0.8660
0.5000
-0.5000
0.8660
0.0000
1.0000
0.5000
0.8660
0.8660
0.5000
1.0000
0.0000
0.8660
-0.5000
0.5000
-0.8660
0.0000
-1.0000
-0.5000
-0.8660
-0.8660
-0.5000
-1.0000
0.0000
-0.8660
0.5000
-0.5000
0.8660
0.0000
1.0000
0.5000
0.8660
0.8660
0.5000
1.0000
0.0000
0.8660
-0.5000
0.5000
-0.8660
0.0000
-1.0000
-0.5000
-0.8660
-0.8660
-0.5000
-1.0000
0.0000
-0.8660
0.5000
-0.5000
0.8660
0.0000
1.0000

Y
0.9729
0.8426
0.4865
0.0000
-0.4865
-0.8426
-0.9729
-0.8426
-0.4865
0.0000
0.4865
0.8426
0.9729
0.8426
0.4865
0.0000
-0.4865
-0.8426
-0.9729
-0.8426
-0.4865
0.0000
0.4865
0.8426
0.9729
0.8426
0.4865
0.0000
-0.4865
-0.8426
-0.9729
-0.8426
-0.4865
0.0000
0.4865
0.8426
0.9729

Z
0.0000
0.4865
0.8426
0.9729
0.8426
0.4865
0.0000
-0.4865
-0.8426
-0.9729
-0.8426
-0.4865
0.0000
0.4865
0.8426
0.9729
0.8426
0.4865
0.0000
-0.4865
-0.8426
-0.9729
-0.8426
-0.4865
0.0000
0.4865
0.8426
0.9729
0.8426
0.4865
0.0000
-0.4865
-0.8426
-0.9729
-0.8426
-0.4865
0.0000

x
0.0000
0.0069
0.0139
0.0208
0.0278
0.0347
0.0417
0.0486
0.0556
0.0625
0.0694
0.0764
0.0833
0.0903
0.0972
0.1042
0.1111
0.1181
0.1250
0.1319
0.1389
0.1458
0.1528
0.1597
0.1667
0.1736
0.1806
0.1875
0.1944
0.2014
0.2083
0.2153
0.2222
0.2292
0.2361
0.2431
0.2500

0.9729
0.8773
0.5559
0.1042
-0.3476
-0.6690
-0.7646
-0.5995
-0.2087
0.3125
0.8337
1.2245
1.3896
1.2940
0.9726
0.5208
0.0691
-0.2523
-0.3479
-0.1829
0.2080
0.7292
1.2504
1.6412
1.8063
1.7106
1.3892
0.9375
0.4858
0.1644
0.0687
0.2338
0.6246
1.1458
1.6670
2.0579
2.2229

y
0.0000
0.5212
0.9120
1.0771
0.9815
0.6601
0.2083
#####
#####
#####
#####
#####
0.4167
0.9379
1.3287
1.4938
1.3981
1.0767
0.6250
0.1733
#####
#####
#####
0.3121
0.8333
1.3545
1.7454
1.9104
1.8148
1.4934
1.0417
0.5899
0.2685
0.1729
0.3380
0.7288
1.2500

-1.0

0.0

1.0

-0.5

-1.0

Figure 9-12 A 3D spiral.

row 280

row 290

row 300

row 310

Page 9 - 7

GRAPHING

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

3D BOX -- SIMPLE PROJECTION


Vpoint
45 degrees
0.785 rad
x
0.70711
y
0.70711

This is just one method of showing 3D data in a 2D graph.


The image of a box is fairly easy to manipulate.
Notice that 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.

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
x axis

y axis

z axis

18

-0.5
11

16

0
14
0
12

0
0

-0.5
11

0
7.071068

0
7.07106781

0
10
10
0
0

0
0
10
10
0

7.071068
17.07107
17.07107
7.071068
7.071068

7.071068
7.071068
17.07107
17.07107
7.071068

0
0

0
7.071068

10
17.07107

0
7.071068

10
17.07107

10
17.07107

0
7.071068

10
17.07107

10
8

6
4

2
0
-0.5
-2

4.5

9.5

14.5

19.5

row 330

Figure 9-13 Set the aspect ratio for this 3D box in Lx, Ly, and Lz above.

row 340

row 350

row 360

Page 9 - 8

GRAPHING

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

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 figureZ
or data plots. Separate data groups are separated by a blank row.
row 370

VIEW
ALONG
+Y

VPoint
VPx
VPy
VPz

-0.2
-0.2
1

LX

10

LY

10

LZ

10

STANDAR
D VIEW
OF THE
XY PLANE

Y
X

row 380

Z
X

VIEW ALONG +X

Figure 9-14 The diagram of ACAD type


orthographic views.
Conditional formating torow 390
highlight logic choice

Figure 9-15 Graph of an orthographic box.


Logic Table
1, 1, 1
logic
VPx mult x
VPx mult y
VPy mult x
VPy mult y
VPx mult x
VPx mult y
VPy mult x
VPy mult y
logic results
x
y
x
y

0, 1, 1

1, 0, 0

1, 1, 0

0, 1, 0

1, 0, 1

0
-1
-1
1
-1

0
-1
1
-1
-1

0
1
-1
1
1

0
-1
1
1
1

0
-1
1
1
1

0
1
-1
1
1

0
0
0
0

0
0
0
0

0
0
0
0

0
0
0
0

0
0
0
0

0
0
0
0

-1,-1,0 -1,-1,1 -1,0,-1-1,0,-1-1,-1,-1


0
1
0
0
0
1
1
1
1
1
1
1
-1
1
-1
-1
-1
1
1
-1
1
1
1
-1
-1
0
0
0
0

1
1
-1
1

0
0
0
0

0
0
0
0

0
0
0
0

0
-1
1
-1
-1
0
0
0
0

1
1
-1
1
row 410

Page 9 - 9

GRAPHING

Christy
06:09
#######

ENGINEERING with the SPREADSHEET


Copyright 2006 American Society of Civil Engineers

196031432.xls.ms_office
A

3D BOX -- ORTHOGRAPHIC PROJECTION -- Continued


0, 0, 0
0, 0, -1
1, 0, 0
0
0
0
1
-1
0
0
0
0
0
0
-1
1
1
0
logic results
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0.276
0.272
0.272
0.283

VPx
VPy
VPz
X, Y, and Z axis
multiplier
max
max mult

calculations
x axis
y axis
z axis

1.1
10
11

Reference
RadiansDegrees
0.524
30
0.785
45
1.047
60
1.571
90
3.142
180
row 420

y
0.70711
0.70711
0

output to graph
0.68041 x axis
#####
0.68041 y axis
#####
0.27217 z axis
0

y
x
#####
#####
#####

row 430

y2

x axis

0
7.77819

0
7.48454

y axis

0
-7.77819

0
7.48454

z axis

0
0

0
2.99382

-0.8556

-0.8233

0.8556

-0.3293

Note that the graph makes use of two X-axis to conserve


space in the template (and printout).
x
y
along x
-2.357 2.268
4.7141 #####
-4.7141
2.357

4.536
11.34
row 440

standoff

top plane

0
7.071085
0
-7.071085
0

bottom plane

0
7.071085
0
-7.071085
0

0
6.804132
13.60826
6.804132
0
2.721653
9.525784
16.32992
9.525784
2.721653

along y

2.35703 2.268
###### #####
4.71406 4.536
###### #####
7.0711
7.0711

6.804
9.526

0
0

13.61
16.33

-7.0711
-7.0711

6.804
9.526

row 450

row 460

Você também pode gostar