| 1 |
%========================================================================= |
| 2 |
|
| 3 |
%\chapter{User's Guide for \PLAUT} \label{app:userGuide} |
| 4 |
|
| 5 |
``\PLAUT'' is a graphic tool for AUTO data visualization. Here we |
| 6 |
explain how to |
| 7 |
view AUTO data sets with \PLAUT. An AUTO data set contains a solution file, ``s.foo'', |
| 8 |
a bifurcation file, ``b.foo'', and a diagnostic file, ``d.foo''. Here ``foo'' denotes a user-chosen data set name. |
| 9 |
This user's guide includes the following information: |
| 10 |
\begin{enumerate} |
| 11 |
\item A description of the \PLAUT~ window system. |
| 12 |
\item A list of \PLAUT~ configuration options. |
| 13 |
\item An example of using \PLAUT. |
| 14 |
\end{enumerate} |
| 15 |
|
| 16 |
\section{Quick start} |
| 17 |
|
| 18 |
\subsection{Starting and stopping \PLAUT } |
| 19 |
|
| 20 |
\subsubsection{Starting} |
| 21 |
|
| 22 |
The starting command for \PLAUT~ is: ``plaut04''. A short Unix command |
| 23 |
is also provided as ``@pl''. In the Python CLUI, one can start \PLAUT |
| 24 |
~by typing ``plot3()'', ``p3()'', or ``commandPlotter3D()''. |
| 25 |
|
| 26 |
This command can have no argument, one argument, or two arguments. |
| 27 |
|
| 28 |
If no argument is provided, then the system uses the AUTO default data files, |
| 29 |
fort.7, fort.8, and fort.9, as inputs. |
| 30 |
|
| 31 |
If one argument is given, it must be the name of the data set which we want |
| 32 |
to view. This data set should be in the current directory. |
| 33 |
|
| 34 |
When two arguments are given, |
| 35 |
the first is always the path to the data set, and the second is the data set name. |
| 36 |
|
| 37 |
Note that the AUTO data set name does not mean the full name of an AUTO file. It refers to |
| 38 |
the postfix of AUTO data files. For example, if we have the AUTO |
| 39 |
data files: ``s.H1'', ``b.H1'', and ``d.H1'', the AUTO data file name is ``H1''. |
| 40 |
|
| 41 |
\subsubsection{Stopping} |
| 42 |
|
| 43 |
One can exit the system by |
| 44 |
clicking the cross at the top-right corner of the window or from the ``File'' menu of the system. |
| 45 |
\begin{comment} |
| 46 |
\begin{figure}[!htb] |
| 47 |
\captionstyle{center} |
| 48 |
\centering |
| 49 |
\scalebox{.50}{\includegraphics {./include/exit.pdf}} |
| 50 |
%\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm}}} |
| 51 |
\caption{Exit the System} \label{fig:exitSys} |
| 52 |
\end{figure} |
| 53 |
\end{comment} |
| 54 |
|
| 55 |
\subsection{Changing the ``Type''} |
| 56 |
|
| 57 |
Often one will frequently change between the solution diagram and the bifurcation diagram. |
| 58 |
The ``Type'' menu helps to complete this change. This menu includes two |
| 59 |
items, ``Solution'', and ``Bifurcation''. There is a marker beside the current |
| 60 |
diagram. For example, if the current diagram is the solution diagram, |
| 61 |
but we want to change to the bifurcation diagram, |
| 62 |
we can do so by clicking ``Type $\to$ Bifurcation'' to switch to the |
| 63 |
bifurcation diagram. |
| 64 |
|
| 65 |
\begin{figure}[!htb] |
| 66 |
\begin{minipage}[b]{0.5\textwidth} |
| 67 |
\begin{center} |
| 68 |
\includegraphics {./include/typeMenu.pdf} |
| 69 |
\caption{The Type Menu} \label{fig:tpyeMenu} |
| 70 |
\end{center} |
| 71 |
\end{minipage}% |
| 72 |
%\hspace{0.0\textwidth}% |
| 73 |
\begin{minipage}[b]{0.5\textwidth} |
| 74 |
\begin{center} |
| 75 |
\includegraphics {./include/styleMenuNew.pdf} |
| 76 |
\caption{The Style Menu} \label{fig:styleMenu} |
| 77 |
\end{center} |
| 78 |
\end{minipage} |
| 79 |
\end{figure} |
| 80 |
|
| 81 |
\subsection{Changing the ``Style''} |
| 82 |
|
| 83 |
\PLAUT~ provides four ways to draw the graphics, \textit{i.e.}, using |
| 84 |
curves, tubes, points, or as a surface. One can select the style from |
| 85 |
the ``Style'' menu. The ``Style'' menu is shown in Figure \ref{fig:styleMenu}. |
| 86 |
|
| 87 |
\subsection{Coordinate axes} |
| 88 |
|
| 89 |
Figure \ref{fig:coordMenu} shows the selections of the ``Coord'' menu. |
| 90 |
One may use this menu to select to show or not to show |
| 91 |
coordinate axes, and the type of coordinate axes, in the graphics. |
| 92 |
|
| 93 |
\subsection{Options} |
| 94 |
|
| 95 |
The ``Options'' Menu provides functions to add or remove widgets from the graphics. |
| 96 |
It also allows to start/stop solution or orbit animation. |
| 97 |
The ``normalize data'' normalizes the raw data to [0,1]. |
| 98 |
``Preference'' lets us set preferences for the GUI (see Figure \ref{fig:optionMenu}). |
| 99 |
\begin{figure}[!htb] |
| 100 |
\centering |
| 101 |
\begin{minipage}[b]{0.5\textwidth} |
| 102 |
\centering |
| 103 |
\includegraphics {./include/drawCoordMenu.pdf} |
| 104 |
\caption{The Draw-Coordinate-Axes Menu} \label{fig:coordMenu} |
| 105 |
\end{minipage}% |
| 106 |
%\hspace{0.2\textwidth}% |
| 107 |
\begin{minipage}[b]{0.5\textwidth} |
| 108 |
\centering |
| 109 |
\includegraphics {./include/optionMenu.pdf} |
| 110 |
\caption{The Options Menu} \label{fig:optionMenu} |
| 111 |
\end{minipage} |
| 112 |
\end{figure} |
| 113 |
|
| 114 |
\subsection{CR3BP animation} |
| 115 |
|
| 116 |
The ``Center'' Menu allows to animate the motion of the three bodies in different |
| 117 |
coordinate systems. We can animate the motion in a large-primary-centered inertial |
| 118 |
coordinate system, or in a small-primary-centered inertial system, or in the bary-centered |
| 119 |
inertial system. Figure \ref{fig:centerMenu} displays the layout of the ``Center'' menu. |
| 120 |
|
| 121 |
\begin{figure}[!htb] |
| 122 |
\centering |
| 123 |
\begin{minipage}[b]{0.5\textwidth} |
| 124 |
\centering |
| 125 |
\includegraphics {./include/centerMenu.pdf} |
| 126 |
\caption{The Center Menu} \label{fig:centerMenu} |
| 127 |
\end{minipage}% |
| 128 |
%\hspace{0.2\textwidth}% |
| 129 |
\begin{minipage}[b]{0.5\textwidth} |
| 130 |
\centering |
| 131 |
\includegraphics {./include/helpMenu.pdf} |
| 132 |
\caption{The Help Menu} \label{fig:helpMenu} |
| 133 |
\end{minipage} |
| 134 |
\end{figure} |
| 135 |
|
| 136 |
|
| 137 |
\subsection{Help} |
| 138 |
|
| 139 |
The ``Help'' menu provides an on-line help on how to use \PLAUT. |
| 140 |
|
| 141 |
\subsection{Picking a point in the diagram} |
| 142 |
|
| 143 |
The picking operation is useful when we want to know data corresponding to a certain |
| 144 |
point in the diagram. In order to execute a picking operation, we should follow these steps. |
| 145 |
\begin{itemize} |
| 146 |
\item Click the arrow icon to change the mouse to picking state. |
| 147 |
\item Move the mouse to the point of interest. |
| 148 |
\item Click the left button of the mouse to pick the point. |
| 149 |
\end{itemize} |
| 150 |
|
| 151 |
Once a point has been picked, a new window is popped up. In this new window, the Floquet |
| 152 |
multipliers of the point are shown in an x-y plane. |
| 153 |
Black crosses in the diagram indicate the Floquet Multipliers. |
| 154 |
The solution, and the values of the corresponding Floquet Multipliers, are given in the lower part of the |
| 155 |
window. A unit circle is drawn in the diagram. |
| 156 |
Figure \ref{fig:flq} is an example of the picking operation. |
| 157 |
From this diagram, we can see that two Floquet Multipliers |
| 158 |
are outside the unit circle, two are on the unit circle, and the other two are inside the unit circle. |
| 159 |
|
| 160 |
\begin{figure}[!htb] |
| 161 |
\centering |
| 162 |
\scalebox{.60}{\includegraphics {./include/floquet.pdf}} |
| 163 |
%\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm}}} |
| 164 |
\caption{Picking a point } |
| 165 |
\label{fig:flq} |
| 166 |
\end{figure} |
| 167 |
|
| 168 |
\subsection{Choosing the variables} |
| 169 |
|
| 170 |
\begin{figure}[!htb] |
| 171 |
\centering |
| 172 |
\scalebox{.60}{\includegraphics {./include/menubar.pdf}} |
| 173 |
%\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm}}} |
| 174 |
\caption{Menu-bar layout} |
| 175 |
\label{fig:mnbar} |
| 176 |
\end{figure} |
| 177 |
|
| 178 |
AUTO can generate large amounts of data. The CR3BP, for example, has 6 variables, \textit{i.e.}, $x,y, |
| 179 |
z, x', y', z'$, and time. One can choose to draw any combination of these variables in 2 |
| 180 |
or 3 dimensions using \PLAUT. On the list bar, |
| 181 |
we can see three {dropdown lists} with label ``X'', ``Y'', and ``Z'' (See Figure~\ref{fig:mnbar}). |
| 182 |
Each of these three lists has the exact number of choices, namely, the number of variables of the system plus one. |
| 183 |
In our case, these lists have 7 choices, which are represented by the integers 0 to 6. |
| 184 |
0 represents time. 1 to 6 stand for $x, y, z, x', y'$, and $z'$, respectively. |
| 185 |
``1'' is selected for ``X'', which indicates that $x$ is drawn on the X-axis. |
| 186 |
``2'' is selected for ``Y'', which indicates that $y$ is represented on the Y-axis. |
| 187 |
``3'' is selected for ``Z'', which indicates that $z$ is represented on the Z-axis. |
| 188 |
|
| 189 |
\begin{figure}[!htb] |
| 190 |
\centering |
| 191 |
\scalebox{.50}{\includegraphics {./include/2component.pdf}} |
| 192 |
%\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm}}} |
| 193 |
\caption{Displaying multiple components} |
| 194 |
\label{fig:twoPairs} |
| 195 |
\end{figure} |
| 196 |
|
| 197 |
We can also show multiple combinations at the same time. For example, if we want |
| 198 |
to show x-y-z and x'-y'-z' in the same diagram, we can input $1,4$ in the ``X'' \textrm{dropdown list} to |
| 199 |
select $x$ and $x'$ being drawn on the X-axis, input $2,5$ in the ``Y'' list to show $y$ and $y'$ on the Y-axis, |
| 200 |
and input $3,6$ in the ``Z'' \textrm{dropdown list} to draw $z$ and $z'$ on the Z-Axis. Note that after finishing |
| 201 |
the input in the \textrm{dropdown list} box, we must type ``ENTER'' for |
| 202 |
the input to be accepted by the system. Figure \ref{fig:twoPairs} shows the results of the above |
| 203 |
choices. The combination is flexible. For example, if X is $1$, Y is $3, 5$, and Z is $4, 5, 6$, |
| 204 |
the system will automatically reorganize them to $1-3-4$, $1-5-5$, $1-3-6$ and show the results. |
| 205 |
If X is $1, 5$, Y is $2$, and Z is $3, 4$, the system reorganizes them to $1-2-3$, $5-2-4$. |
| 206 |
|
| 207 |
Different components are drawn with different colors from blue to red. |
| 208 |
|
| 209 |
The default values can be set in the resource file. If no resource file exists, then the system |
| 210 |
will use ``1'' for X-axis, ``2'' for Y-axis, and ``3''for Z-axis for both the solution and the bifurcation |
| 211 |
diagrams. |
| 212 |
|
| 213 |
\subsection{Choosing labels} |
| 214 |
|
| 215 |
From the Label list, we can choose the label of the solution to be drawn. If ``ALL'' is chosen, all |
| 216 |
solutions are shown in the diagram. If ``NONE'' is chosen, none of the solutions is shown. |
| 217 |
``HALF'' shows the solutions with odd labels and special solutions only. ``SPEC'' lets the system |
| 218 |
show the special solutions only. |
| 219 |
We can also show selected solutions by inputting their labels in the list |
| 220 |
box separated by commas. |
| 221 |
For example, typing 1, 10, 15, 20 will lead the system to show only the solutions with label 1, 10, 15 and 20. |
| 222 |
|
| 223 |
We can set the default value for this list in the \PLAUT~resource file. |
| 224 |
|
| 225 |
\subsection{Coloring} |
| 226 |
|
| 227 |
Many coloring methods are provided. They can be classified into three groups. The first group |
| 228 |
is coloring by variables. |
| 229 |
This group provides as many choices as the number of variables of a problem plus |
| 230 |
1 for the time. |
| 231 |
The second group is coloring by parameters. These parameters are defined by the AUTO user. |
| 232 |
in the AUTO constants file. |
| 233 |
There are as many choices as the number of parameters defined in the AUTO constants file. |
| 234 |
The third group includes ``TYPE'', type of solution, |
| 235 |
``PONT'', point number, |
| 236 |
``BRAN'', the branch to which the solution belongs, |
| 237 |
and ``LABL'', label of the solution. |
| 238 |
Different coloring methods cannot be used at the same time. |
| 239 |
Figure \ref{fig:clrMethod} shows the difference between coloring by type and coloring by label. |
| 240 |
From Figure \ref{fig:clrMethod}(a), we can see that there is only one |
| 241 |
branching orbit in this family, which is shown in cyan. |
| 242 |
In Figure~\ref{fig:clrMethod}(b), the start solution is colored in blue, and the last solution is colored in red. |
| 243 |
When using time to color the diagram, 0 is set to blue, while 1 is set to red. |
| 244 |
\begin{figure}[!htb] |
| 245 |
\subfigure[Coloring by ``Type'']{ |
| 246 |
\label{fig:clrType} |
| 247 |
\begin{minipage}[b]{0.32\textwidth} |
| 248 |
\centering |
| 249 |
\includegraphics[width=5.0cm, height=5.0cm] {./include/clrTyMu0.pdf} |
| 250 |
\end{minipage}}% |
| 251 |
\subfigure[Coloring by ``Label'']{ |
| 252 |
\label{fig:clrLabel} |
| 253 |
\begin{minipage}[b]{0.32\textwidth} |
| 254 |
\centering |
| 255 |
\includegraphics[width=5.0cm, height=5.0cm]{./include/clrLBMu0.pdf} |
| 256 |
\end{minipage}}% |
| 257 |
\subfigure[Coloring by ``Time'']{ |
| 258 |
\label{fig:clrTime} |
| 259 |
\begin{minipage}[b]{0.32\textwidth} |
| 260 |
\centering |
| 261 |
\includegraphics[width=5.0cm, height=5.0cm]{./include/clrTimeMu0.pdf} |
| 262 |
\end{minipage}} |
| 263 |
\caption{Coloring} \label{fig:clrMethod} |
| 264 |
\end{figure} |
| 265 |
|
| 266 |
We can set the default value in the \PLAUT~resource file. |
| 267 |
|
| 268 |
\subsection{Number of periods to be animated} |
| 269 |
|
| 270 |
Generally only one period is animated when we animate the solution in the inertial frame. |
| 271 |
However, the SpinBox allows us to change the default value. |
| 272 |
This is a specially designed function for the CR3BP. |
| 273 |
It is useful when we animate the motion in the three bodies in the inertial frame. |
| 274 |
|
| 275 |
\subsection{Changing the line/tube thickness} |
| 276 |
|
| 277 |
The ``Line Thickness'' spinbox allows us to increase or decrease the line/tube thickness |
| 278 |
in the diagram. The \PLAUT~ resource file also provides a way to change the default values of the |
| 279 |
line/tube thickness. |
| 280 |
|
| 281 |
\subsection{Changing the animation speed} |
| 282 |
|
| 283 |
The ``Sat'' and ``Orbit'' scale bar allow us to change the animation speed. |
| 284 |
Their Maximum and Minimum value can be set in the resource file. |
| 285 |
|
| 286 |
\subsection{Changing the background picture} |
| 287 |
|
| 288 |
A user can set the background with his favorite picture. |
| 289 |
To do this, a user should copy the picture to the directory ``\$AUTO\_DIR/plaut04/widgets'', |
| 290 |
and then change the name of the file to ``background.rgb''. |
| 291 |
|
| 292 |
\section{Setting up the resource file} |
| 293 |
|
| 294 |
The \PLAUT~resource file sets default values for |
| 295 |
almost all controls of \PLAUT. |
| 296 |
%Generally when we solve a problem, we want |
| 297 |
%to put the solutions in the same directory. |
| 298 |
%For the same problem, what a user is interested in is almost the same. |
| 299 |
\PLAUT~allows us to write our own resources files and put them in the same directory as the AUTO data files. |
| 300 |
\PLAUT~first looks for the resource file in the current directory. |
| 301 |
If it cannot find a resource file there, then it will try to use the one installed |
| 302 |
in the AUTO root directory. If both these searches fail, then the internal |
| 303 |
default values will be used. |
| 304 |
|
| 305 |
In order to write a usable resource file, one should follow the following rules: |
| 306 |
\begin{enumerate} |
| 307 |
\item Comment lines start with ``\#''. Comments may take as many lines as desired. |
| 308 |
\item Between the ``variable name'' and the default value, we must use |
| 309 |
``='' to tell the system that the left side is the ``variable name'', and |
| 310 |
the right side is its corresponding default value. |
| 311 |
\item If a ``variable'' has aggregate values, a comma ``,'' must be used between |
| 312 |
two values. |
| 313 |
\item The line type is set using 4-digit hexadecimals, starting with ``0x''. Its values can |
| 314 |
range from $0$ (invisible) to ``0xffff'' (solid). The system default is ``0xffff'' for stable |
| 315 |
solutions, and ``0x3333'' for unstable ones. |
| 316 |
The line pattern is determined by the number of $1$s and $0$s when the hexadecimal |
| 317 |
is converted to a $16$-bit binary. A ``$1$'' indicates that the drawing occurs, and ``$0$'' that |
| 318 |
it does not, on a pixel by pixel basis. For example, the pattern ``0xAAAA'', |
| 319 |
in binary is $0000100010001000$, and \PLAUT~interprets this as drawing |
| 320 |
3 bits off, 1 bit on, 3 bits off, 1 bit on, 3 bits off, 1 bit on and finally 4 bits off. |
| 321 |
The pattern is read backward because the low order bits are used first. |
| 322 |
\item Some variables can only be set to ``Yes'' or ``No''. They cannot be assigned other values. |
| 323 |
\item No ``variable name'' should be modified. |
| 324 |
\end{enumerate} |
| 325 |
|
| 326 |
It is strongly recommended that the default resource file is used as a template |
| 327 |
when writing a custom resource file. |
| 328 |
|
| 329 |
Below is a copy of the default resource file. |
| 330 |
{\footnotesize |
| 331 |
\begin{verbatim} |
| 332 |
#version 0.0 |
| 333 |
|
| 334 |
# Line colors are represented by RGB values from 0 to 1.0. |
| 335 |
# DEFAULT color is also used when animationLabel == 0, i.e., |
| 336 |
# when showing all solutions and animating the solution change. |
| 337 |
# Point Type RED GREEN BLUE PATTERN |
| 338 |
DEFAULT = 1.0, 1.0, 1.0, 0xffff |
| 339 |
BP ALG = 1.0, 0.0, 0.0, 0xffff |
| 340 |
LP ALG = 0.0, 1.0, 0.0, 0xffff |
| 341 |
HB = 0.0, 0.0, 1.0, 0xffff |
| 342 |
UZ4 = 1.0, 1.0, 0.0, 0xffff |
| 343 |
UZ-4 = 0.5, 0.5, 0.0, 0xffff |
| 344 |
LP DIF = 0.0, 0.0, 0.5, 0xffff |
| 345 |
BP DIF = 0.0, 0.5, 0.5, 0xffff |
| 346 |
PD = 1.0, 0.0, 1.0, 0xffff |
| 347 |
TR = 0.0, 1.0, 1.0, 0xffff |
| 348 |
EP = 0.3, 0.0, 0.3, 0xffff |
| 349 |
MX = 0.6, 0.0, 0.6, 0xffff |
| 350 |
OTHERS = 1.0, 1.0, 1.0, 0xffff |
| 351 |
|
| 352 |
# Initialize the line pattern for showing stability: |
| 353 |
UNSTABLE LINE PATTERN = 0xffff |
| 354 |
STABLE LINE PATTERN = 0xffff |
| 355 |
|
| 356 |
# Initialize the default options: |
| 357 |
Draw Reference Plane = No |
| 358 |
Draw Reference Sphere = No |
| 359 |
Orbit Animation = No |
| 360 |
Satellite Animation = No |
| 361 |
Draw Primaries = No |
| 362 |
Draw Libration Points = No |
| 363 |
Normalize Data = No |
| 364 |
Draw Labels = No |
| 365 |
Show Label Numbers = No |
| 366 |
Draw Background = No |
| 367 |
Draw Legend = No |
| 368 |
|
| 369 |
# Initialize the default coordinate axes: |
| 370 |
# 0 --- None, |
| 371 |
# 1 --- at origin |
| 372 |
# 2 --- at left and behind |
| 373 |
# 3 --- at left and ahead |
| 374 |
# 4 --- always at origin |
| 375 |
Coordinate Type = 3 |
| 376 |
|
| 377 |
# Draw Scale on the Aexs |
| 378 |
Draw Scale = Yes |
| 379 |
|
| 380 |
# Initialize the default graph type: |
| 381 |
# 0 --- Solution (fort.8) |
| 382 |
# 1 --- Bifurcation (fort.7) |
| 383 |
Graph Type = 0 |
| 384 |
|
| 385 |
# Initialize the default graph style: |
| 386 |
# 0 --- LINES, |
| 387 |
# 1 --- TUBES, |
| 388 |
# 2 --- SURFACE |
| 389 |
Graph Style = 0 |
| 390 |
|
| 391 |
# Set the window width and height: |
| 392 |
Window Width = 1000 |
| 393 |
Window Height = 1000 |
| 394 |
|
| 395 |
# Set X, Y, Z axes for the solution diagram: |
| 396 |
# 0 is Time for X,Y,Z. |
| 397 |
X Axis Solution = 1 |
| 398 |
Y Axis Solution = 2 |
| 399 |
Z Axis Solution = 3 |
| 400 |
|
| 401 |
# Set X, Y, Z axes for the bifurcation diagram: |
| 402 |
X Axis Bifurcation = 4 |
| 403 |
Y Axis Bifurcation = 5 |
| 404 |
Z Axis Bifurcation = 6 |
| 405 |
|
| 406 |
#Labeled solutions: |
| 407 |
Labels = 0 |
| 408 |
|
| 409 |
# Set coloring method: |
| 410 |
# -6 --- STABILITY |
| 411 |
# -5 --- POINT |
| 412 |
# -4 --- BRANCH |
| 413 |
# -3 --- TYPE |
| 414 |
# -2 --- LABEL |
| 415 |
# -1 --- COMPONENT |
| 416 |
# Otherwise, according to the data in the ith column of the solution file. |
| 417 |
# It can only be set to an integer value. |
| 418 |
#Coloring Method = -3 |
| 419 |
# For the solution diagram: |
| 420 |
Coloring Method Solution = -3 |
| 421 |
# For the bifurcation diagram: |
| 422 |
Coloring Method Bifurcation = -3 |
| 423 |
Number of Period Animated = 1 |
| 424 |
|
| 425 |
# Line Width Scaler adjusts the thickness of curves: |
| 426 |
Line Width Scaler = 1.0 |
| 427 |
|
| 428 |
# The AniLine Thickness Scaler sets the thickness of animated solution curves: |
| 429 |
AniLine Thickness Scaler = 3.0 |
| 430 |
|
| 431 |
# Background color: |
| 432 |
Background Color = 0.0, 0.0, 0.0 |
| 433 |
|
| 434 |
# Background transparency: |
| 435 |
Background Transparency = 0.0 |
| 436 |
|
| 437 |
# Set the radius of the spheres used for labels: |
| 438 |
# The normal size is 1.0. |
| 439 |
# For smaller radius, use 0.xxx |
| 440 |
# For bigger radius, use X.XXX |
| 441 |
Label Sphere Radius = 1.0 |
| 442 |
|
| 443 |
# Disk Rotation |
| 444 |
Disk Rotation = 1.0, 0.0, 0.0, 1.570796 |
| 445 |
|
| 446 |
# Disk Position |
| 447 |
Disk Position = 0.0, 0.0, 0.0 |
| 448 |
|
| 449 |
# Disk Radius |
| 450 |
Disk Radius = 1.0 |
| 451 |
|
| 452 |
# Disk Height |
| 453 |
Disk Height = 0.001 |
| 454 |
|
| 455 |
# Disk Transparency [0, 1] |
| 456 |
Disk Transparency = 0.7 |
| 457 |
|
| 458 |
# Read Disk From File |
| 459 |
Disk From File = No |
| 460 |
|
| 461 |
# Sphere Position |
| 462 |
Sphere Position = 0.0, 0.0, 0.0 |
| 463 |
|
| 464 |
# Sphere Radius |
| 465 |
Sphere Radius = 1.0 |
| 466 |
|
| 467 |
# Sphere Transparency [0, 1] |
| 468 |
Sphere Transparency = 0.7 |
| 469 |
|
| 470 |
# Read Sphere From File |
| 471 |
Sphere From File = No |
| 472 |
|
| 473 |
# Axes color: |
| 474 |
X Axis Color = 1.0, 0.0, 0.0 |
| 475 |
Y Axis Color = 0.0, 1.0, 0.0 |
| 476 |
Z Axis Color = 0.0, 0.0, 1.0 |
| 477 |
|
| 478 |
# Color of the satellite, large primary, and small primary in animation: |
| 479 |
satellite Color = 1.0, 0.0, 0.0 |
| 480 |
large primary Color = 0.0, 1.0, 0.0 |
| 481 |
large primary tail Color = 0.0, 1.0, 1.0 |
| 482 |
small primary Color = 0.0, 0.0, 1.0 |
| 483 |
small primary tail Color = 0.5, 0.5, 0.0 |
| 484 |
|
| 485 |
# Surface color: |
| 486 |
Surface Color = 0.0, 1.0, 0.0 |
| 487 |
|
| 488 |
# Stable solution color: |
| 489 |
Stable Solution Color = 0.0, 0.0, 1.0 |
| 490 |
|
| 491 |
# Stable solution color: |
| 492 |
Unstable Solution Color = 1.0, 0.0, 0.0 |
| 493 |
|
| 494 |
# Set the radius of the satellite, large primary, and small primary: |
| 495 |
# The normal size is 1.0. |
| 496 |
# For smaller radius, use 0.xxx |
| 497 |
# For bigger radius, use X.XXX |
| 498 |
Satellite Radius = 1.0 |
| 499 |
Large Primary Radius = 1.0 |
| 500 |
Small Primary Radius = 1.0 |
| 501 |
Libration Point Size = 1.0 |
| 502 |
|
| 503 |
# Set the initial, maximum and minimum satellite animation speed: |
| 504 |
Sat Animation Speed = 100 |
| 505 |
Sat Max Animation Speed = 100 |
| 506 |
Sat Min Animation Speed = 0 |
| 507 |
|
| 508 |
# Set the initial, maximum and minimum orbit-change animation speed: |
| 509 |
Orbit Animation Speed = 50 |
| 510 |
Orbit Max Animation Speed = 100 |
| 511 |
Orbit Min Animation Speed = 0 |
| 512 |
|
| 513 |
# Set the active AUTO parameter indices: |
| 514 |
parameter ID = 10 |
| 515 |
|
| 516 |
# Choose 3D or 2D graph: |
| 517 |
#3D = Yes |
| 518 |
|
| 519 |
# Choose 3D or 2D graph for the bifurcation diagram: |
| 520 |
3DBif = Yes |
| 521 |
|
| 522 |
# Choose 3D or 2D graph for the solution diagram: |
| 523 |
3DSol = Yes |
| 524 |
|
| 525 |
\end{verbatim} |
| 526 |
} |
| 527 |
|
| 528 |
\section{Example} |
| 529 |
|
| 530 |
In this example, we want to view a CR3BP data set. |
| 531 |
We want the diagram to show the ``$x$'' component on the X-axis, ``$y$'' component on the Y-axis, and ``$z$'' component on the Z-axis |
| 532 |
for the solution diagram. |
| 533 |
%and column 4 of the AUTO b file as the X-axis, column 5 |
| 534 |
%on the Y-axis, and column 6 on the Z-axis, for the bifurcation diagram. |
| 535 |
In the CR3BP, we use the parameters ``1 2 3 10 21 22 23'' in the AUTO |
| 536 |
calculations, and we also want to be able to use these to color the diagram, so we set the ``parameter indices''. |
| 537 |
|
| 538 |
Other preferences include |
| 539 |
\begin{itemize} |
| 540 |
\item The diagram is drawn using Tubes. |
| 541 |
\item Coordinate axes are not drawn. |
| 542 |
\item No animation. |
| 543 |
\item Reference plane, libration points, and primaries are drawn. |
| 544 |
\item All labels are shown. |
| 545 |
\item Data is not normalized. |
| 546 |
\end{itemize} |
| 547 |
|
| 548 |
The settings are the settings in the resource file are then as follows: |
| 549 |
{\footnotesize |
| 550 |
\begin{verbatim} |
| 551 |
# Initialize the default options |
| 552 |
Draw Reference Plane = Yes |
| 553 |
Orbit Animation = No |
| 554 |
Satellite Animation = No |
| 555 |
Draw Primaries = Yes |
| 556 |
Draw Libration Points = Yes |
| 557 |
Normalize Data = No |
| 558 |
Draw Background = No |
| 559 |
|
| 560 |
# Initialize the default graph type |
| 561 |
# 0 --- Solution(fort.8) 1 --- Bifurcation(fort.7) |
| 562 |
Graph Type = 0 |
| 563 |
|
| 564 |
# initialize the default graph style |
| 565 |
# 0 --- LINES, 1 --- TUBES, 2 ---- SURFACE 3--- nurbs curve |
| 566 |
graph Style = 1 |
| 567 |
|
| 568 |
# set X, Y, Z, and Label |
| 569 |
# 0 is Time for X,Y,Z. 0 is "All" for Label |
| 570 |
|
| 571 |
Solution X Axis = 1 |
| 572 |
Solution Y Axis = 2 |
| 573 |
Solution Z Axis = 3 |
| 574 |
|
| 575 |
Labels = 0 |
| 576 |
|
| 577 |
#set the parameter indices |
| 578 |
parameter ID = 1, 2, 3, 10, 15, 21, 22, 23 |
| 579 |
\end{verbatim} |
| 580 |
} |
| 581 |
|
| 582 |
Based on the above settings, |
| 583 |
the solution diagram for the CR3BP family \L{1} for $\mu=0.01215$ appears in Figure \ref{fig:AppEx1}. |
| 584 |
|
| 585 |
\begin{comment} |
| 586 |
\begin{figure}[!htb] |
| 587 |
\centering |
| 588 |
%\includegraphics[width=10cm] {./include/ex1Mu0.01215V1.pdf} |
| 589 |
%\includegraphics[width=10cm] {./include/emV4Surface.pdf} |
| 590 |
\includegraphics[width=10cm] {./include/emL1Sol.pdf} |
| 591 |
%\makebox[\textwidth]{\framebox[5cm]{\rule{0pt}{5cm}}} |
| 592 |
\caption{Example} |
| 593 |
\label{fig:AppEx1} |
| 594 |
\end{figure} |
| 595 |
\end{comment} |
| 596 |
|
| 597 |
\begin{figure}[!htb] |
| 598 |
\centering |
| 599 |
\includegraphics[width=10cm, height=10cm] {./include/emL1Sol.pdf} |
| 600 |
\caption{Example} \label{fig:AppEx1} |
| 601 |
\end{figure} |