From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jan 30 2006 - 16:28:10 CST

Nuno,
  You can force any Tk canvas to output to postscript so long as it exists.
If "$w.canvas" is the window/canvas variable for the canvas you want to
write to a postscript file, you'd just do:
  $w.canvas postscript -file $filename

So, for the timeline plugin, you'd do this with something like:
  $::timeline::w.can postscript -file $filename

This is obviously a hack since you're back-dooring the timeline plugin,
but if you need it done that's one way to do it, ugly though it is.

  John

On Sat, Jan 28, 2006 at 01:54:14PM -0000, Nuno R. L. Ferreira wrote:
> Hi *
>
> I determined the secondary structure along a simulation trajectory, using
> the command ssrecalc (from mol), and outputed the information to a data
> file with the same structure, as the file produced by the plugin timeline.:
>
> [header]
> resid chain name frame letter_code
>
> Is it possible to generate a .ps from this file, using only command lines?
> Probably using the timeline procs ...
>
> Best,
> Nuno
>
>
>
>
> ######################################
> Nuno Ricardo Santos Loureiro da Silva Ferreira
> Departamento de Química
> Faculdade de Ciências e Tecnologia
> Universidade de Coimbra
> 3004-535 Coimbra - Portugal
> Fax: +351 239 827703 - www.biolchem.qui.uc.pt
> ########################################
>
>
>
> ---
> avast! Antivirus: Outbound message clean.
> Virus Database (VPS): 0604-4, 27-01-2006
> Tested on: 28-01-2006 13:54:15
> avast! - copyright (c) 1988-2005 ALWIL Software.
> http://www.avast.com
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078