Arrows Text and Legends

# Arrows Text and Legends - Knowlton Materials Science and...

This preview shows pages 1–4. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Knowlton Materials Science and Engineering Boise State University Text, Arrows and Legends - How to use them in you plots Extra Credit: Use the example below to create your own program à We will plotting the activity of component one and two as a function of the fractional amount of 2. a 1 α and a 1 ' α as a function of X 2 a 2 . To add Arrows and Text, we use the following commands: Epilog[ ] Arrow[ ] Text[ ] In[28]:= 8 Arrow @88 3 Pi ê 2, 1 ê 2 < , 8 Pi, 0 <<D , Text @ "Zero" , 8 3 Pi ê 2, 1 ê 2 < , 8 − 1, − 1 <D< Out[28]= : Arrow B:: 3 π 2 , 1 2 > , 8 π , 0 <>F , Text B Zero, : 3 π 2 , 1 2 > , 8 − 1, − 1 <F> In[29]:= Clear @ Ta1, X2, T, γ a, ao, ∆ S1aL, ∆ G1aL D ∆ G1aL @ T _ D : = H Ta1 − T L ∆ S1aL a1a @ X1 _ , T _ D : = X1 Exp B ao H 1 − X1 L 2 R T F a1prime @ X1 _ , T _ D : = a1a @ X1, T D Exp B ∆ G1aL @ T D R T F R = 8.314; ao = 8400; Ta1 = 1500; ∆ S1aL = − 9; Plot A a1a @ X1, 300 D , 8 X1, 0, 1 < , Frame → True, GridLines → Automatic, PlotStyle → 8 RGBColor @ 1, 0, 0 D< , FrameLabel → 9 "X 1 " , "a 1 α " = , PlotLabel −> " a 1 α " , Epilog → 8 Arrow @88 .4, .25 < , 8 .18, 1.7 <<D , Arrow @88 .65, .25 < , 8 .83, .9 <<D , Text @ "Maximum" , 8 .4, .12 < , 8 0, − 1 <D , Text @ "Minimum" , 8 .65, .12 < , 8 0, − 1 <D<E Null Out[37]= 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.5 1.0 1.5 X 1 a 1 α a 1 α Maximum Minimum In[39]:= Here is another example using Arrows and Text using the commands: Show[ ] 2 Arrows Text and Legends.nb Epilog[ ] Arrow[ ] Text[ ] In[40]:= Clear @ Ta1, X2, T, γ a, ao, ∆ S1aL, ∆ G1aL D ∆ G1aL @ T _ D : = H Ta1 − T L ∆ S1aL a1a @ X2 _ , T _ D : = H 1 − X2 L...
View Full Document

## This note was uploaded on 10/16/2011 for the course ENGINEERIN MSE 310 taught by Professor Billknowlton during the Spring '10 term at Boise State.

### Page1 / 11

Arrows Text and Legends - Knowlton Materials Science and...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online