### Home Classes Methods

### In Files

- tutorial/tutorial.rb
- tutorial/tutorial_animation.rb
- tutorial/tutorial_command_line.rb
- tutorial/tutorial_doc_structure.rb
- tutorial/tutorial_epilog.rb
- tutorial/tutorial_figures.rb
- tutorial/tutorial_other_ways.rb
- tutorial/tutorial_other_stuff.rb
- tutorial/tutorial_plots.rb
- tutorial/tutorial_ruby.rb
- tutorial/tutorial_sampled_data.rb
- tutorial/tutorial_simple_figure.rb
- tutorial/tutorial_text_for_tex.rb

### Namespace

- MODULE Tioga::Tutorial::Animation
- MODULE Tioga::Tutorial::CommandLine
- MODULE Tioga::Tutorial::DocStructure
- MODULE Tioga::Tutorial::Epilog
- MODULE Tioga::Tutorial::Figures
- MODULE Tioga::Tutorial::OtherStuff
- MODULE Tioga::Tutorial::OtherWaysToRunTioga
- MODULE Tioga::Tutorial::Plots
- MODULE Tioga::Tutorial::SampledData
- MODULE Tioga::Tutorial::SimpleFigure
- MODULE Tioga::Tutorial::TextForTeX
- MODULE Tioga::Tutorial::UsingRuby

### Class/Module Index

Quicksearch

- Tioga
- Tioga::Arcs_and_Circles
- Tioga::ColorConstants
- Tioga::Colorbars
- Tioga::Colormaps
- Tioga::Creating_Paths
- Tioga::Executive
- Tioga::FigureConstants
- Tioga::FigureMaker
- Tioga::Figures_and_Plots
- Tioga::Flate
- Tioga::Images
- Tioga::Legends
- Tioga::MarkerConstants
- Tioga::Markers
- Tioga::Page_Frame_Bounds
- Tioga::Rectangles
- Tioga::Shading
- Tioga::Special_Paths
- Tioga::Strokes
- Tioga::TeX_Text
- Tioga::Titles_and_Labels
- Tioga::Transparency
- Tioga::Tutorial
- Tioga::Tutorial::Animation
- Tioga::Tutorial::CommandLine
- Tioga::Tutorial::DocStructure
- Tioga::Tutorial::Epilog
- Tioga::Tutorial::Figures
- Tioga::Tutorial::OtherStuff
- Tioga::Tutorial::OtherWaysToRunTioga
- Tioga::Tutorial::Plots
- Tioga::Tutorial::SampledData
- Tioga::Tutorial::SimpleFigure
- Tioga::Tutorial::TextForTeX
- Tioga::Tutorial::UsingRuby
- Tioga::Using_Paths
- Tioga::X_and_Y_Axes
- Dobjects
- Dobjects::Dtable
- Dobjects::Dvector
- Dobjects::Function
- Dobjects::MathEvaluator
- Flate
- TiogaDoc

No matching classes.

# Tioga::Tutorial

# Tutorial

This tutorial gives a guided tour through the programs included in the "samples" subfolder found in the installation folder. It also contains material introducing the command line interface along with hints and suggestions for using tioga effectively.

By the way, the tutorial assumes you want to use Ruby directly to write the programs that describe the figures and plots. If instead of that you'd prefer a command-line interface along the lines of gnuplot, then be sure to read all about Ctioga. Basically, Ctioga writes the ruby program for you, making it easy to do easy plots while still having the ability to do complex ones by adding options to the command line.

The first step in the tutorial is to locate the samples folder and take a look at what's inside. You should find a `README` and several subfolders including:

- figures

- plots

- star_history

- star_profile

- zams

The `README` file basically just directs readers to this documentation. The "figures" subfolder has the most basic stuff. Next comes "plots" which extends the discussion to the methods needed to make plots. The final three folders, "star_history", "star_profile", and "zams", come from my own stellar evolution work. They give "real life" examples of non-trivial applications.

Here are the sections of the tutorial, in the order they are intended to be read.

DocStructure -- The basic anatomy of a tioga document

CommandLine -- How to run and debug your tioga programs

OtherWaysToRunTioga -- Batch mode, Ctioga, Vtioga, etc.

UsingRuby -- The bare essentials for using ruby for tioga

SimpleFigure -- A first look at a nontrivial tioga figure definition

TextForTeX -- How to Add Packages and How (and How Not) to Enter Text for TeX

Plots -- The extras for making plots

Data -- Tools for reading and manipulating the data for plots

SampledData -- Making plots with a false-color image of sampled data

Animation -- How to create a sequence of PDFs and convert it to a movie

OtherStuff -- A few "real life" examples

Epilog -- "Do it yourself" using the tioga kernel for making figures

[Validate]

Generated with the Darkfish Rdoc Generator 2.