works like Show, but can reorder labels/callouts and reposition frame axes. A comment at the top of the notebook provides installation instructions. Wolfram Language function: Combine plots, enabling the creation of plots. The SetAxes documentation consists of one Mathematica™ notebook illustrating various uses of the package. SetAxes and its documentation may be downloaded from the following link (zip file, 58 Kb): Two linear axes Log-Log plot Smooth histogram superimposed on histogram Package Note: PDF files have much better resolution but are not fully compatible with all web browsers. To use the same font and style that is used in graphics, set the label style to 'Graphics': In 5. To put a label underneath a plot, like a caption, use Labeled: In 4. These plots were exported as PNG files with width = 600 pts. If the plot has a background color, the plot extends to include the label: In 3. There are many more possibilities (see documentation). The following plots are meant to be illustrative, not comprehensive. # of minor ticks between major ticks (0, 1, 4 or 8)]ĭefaultAxes Restore both axes to their default format. Search: Graph In Polar Coordinates Wolfram Alpha. SetAxes provides three functions: setLinAxis, setLogAxis and defaultAxes, wth arguments as follows: Package functionality is described below with output for three examples. Although, as programming, they are fairly trivial, I have found the package extremely useful and decided that it was probably worth sharing. The SetAxes package was written to make available a few simple convenience functions with which one can specify the tick marks and labelling of an axis in a 2-D plot. The Mathematica™ language is very powerful and alternate formatting of plots can be achieved by the user, to any reasonable specification, but not without some detailed, low-level programming which may not be completely familiar. Tick marks, for instance, are typically drawn outside the plot area, not inside. The traditional style of axes on 2-D plots seen in scientific journals is rather different. The plotting capabilities of Mathematica™ are truly impressive but axes in these plots are designed, by default, to be generic so that they will work for many different kinds of plots. Earlier and later versions of Mathematica are OK. There is a version-specific bug in v11.3 FrameTicks functionality and, apparently, no workaround. Note: SetAxes does not work in Mathematica v11.3.
0 Comments
Leave a Reply. |