Part THREE

Using a function from a package, before loading the package

"index_34.gif"

"index_35.gif"

To load the package ...

"index_36.gif"

"index_37.gif"

find the correct name (The package directories are located in "Packages" in "AddOns" the $InstallationDirectory, on macintosh:

"index_38.gif"

"index_39.gif"

"index_40.gif"

"index_41.gif"

"index_42.gif"

"index_43.gif"

"index_44.gif"

"index_45.gif"

"index_46.gif"

"index_47.gif"

Doing this correctly now ...

"index_48.gif"

"index_49.gif"

Graphics:None

Using formatting commands in assignments

Examples of common mistakes:

"index_51.gif"

"index_52.gif"

"index_53.gif"

"index_54.gif"

        Practical advice, define and display with separate commands

"index_55.gif"

"index_56.gif"

"index_57.gif"

"index_58.gif"

Older versions of Mathematica (previous to 6.0) required that the functions begin plotted had to be evaluated first.  If you use older notebooks, you will see this. Post 6.0, using evaluate still works but affects the behavior, notive the time to compute and the appearance of the following two plots. As you will see below, using Evaluate still improves the behavior...

Not using Evaluate : slow and monochrome.

"index_59.gif"

"index_60.gif"

Using Evaluate : Fast and multicolored.

        Practical advice:
            Use Evaluate in Plot when in doubt

"index_61.gif"

"index_62.gif"


Created by Wolfram Mathematica 6.0  (27 August 2007) Valid XHTML 1.1!