![]() ![]() If you're lost, impatient, want an overview of this laboratory assignment, or Let's look at what the new graph should have been like. (I don't want to spend too much time here dwelling on the details of the VectorScale command, so just use it as given above from now on to make all of your vectors have the same length.) Go ahead and switch to Mathematica and try this, returning here when you are done. Implementing both of the changes mentioned above, we would change our previous command to: Mathematica defaults to plotting a 15 X 15 grid of vectors, (for a total of 225 vectors.) Say we wanted this to become 20 X 20. This is controlled by the VectorPoints option. We may also wish to use a larger or lesser number of vectors in the plot, as this may give us a better feel for the true shape of the solutions. We can use the VectorScale option to make all of the vector lengths equal. These different magnitudes mean something in the broader field of vector calculus, but for us this variation is actually a little annoying. ![]() One aspect of the plot that may be bothering you is the varying lengths of the vectors shown. To see all of the possible controls you could play with, if you wish, try entering the command Options.įor our purposes, however, there is very little more that we need to have the ability to control. We could remove the border around the image, play with the labels on the axes, alter the tick marks on the axes, or change the aspect ratio of the plot. We could change the number of vectors that are plotted. What else could we choose to alter about our picture? Well, there are several things. OK, we have nearly concluded learning the basics of tweaking a slope field generated by Mathematica to look exactly as we wish. Our preliminary example as drawn by Mathematica Now with axes and without arrow heads This time your trip to Mathematica should have yielded a result like the following: Slope Fields with Mathematica Tweaking The Preliminary Example ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |