[Tioga-users] Multi Page plots in Tioga

Bill Paxton paxton at kitp.ucsb.edu
Tue Jul 10 15:50:24 EDT 2007


On Jul 10, 2007, at 12:20 PM, Justin D. R. Steinfadt wrote:

> Hey Bill.  I'm wondering if their is an easy way to make multi page  
> plots in Tioga without actually having to define them as separate  
> figures.
>
> Basically I have multiple versions of the same type of data and I  
> would like to plot them six to a page.  I have all the conditionals  
> and loop flow structure worked out so that I can do this.  I was  
> hoping that when I got to the end of a page, there would be a  
> simple Tioga command that would say "start new page" that I could  
> use and the loops would continue onward (right now it just takes  
> the extra "pages" and plots it right on top of the first page).  I  
> need to be able to do this because I don't know a priori the number  
> of plots I will need to make.
>
> Does such a command exist?
>
> Thanks,
> -Justin
>

Hi Justin,

Tioga doesn't have the notion of multi-page plots.  Could you perhaps  
call your loop routine with
a starting value and have it do 1 page worth of plots starting from  
there?  It might work like the
attached example, multipage_batch.rb (try it by doing ruby <  
multipage_batch.rb).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: multipage_batch.rb
Type: text/x-ruby-script
Size: 947 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/tioga-users/attachments/20070710/615c7e50/attachment.bin 
-------------- next part --------------

Cheers,
Bill

P.S. I've cc'd this to tioga-users since it may be of wider interest.







More information about the Tioga-users mailing list