VMD-L Mailing List
From: Giacomo Fiorin (giacomo.fiorin_at_gmail.com)
Date: Wed Oct 10 2018 - 15:19:05 CDT
- Next message: McGuire, Kelly: "Re: VMD Tk Console Columns"
- Previous message: McGuire, Kelly: "VMD Tk Console Columns"
- In reply to: McGuire, Kelly: "VMD Tk Console Columns"
- Next in thread: McGuire, Kelly: "Re: VMD Tk Console Columns"
- Reply: McGuire, Kelly: "Re: VMD Tk Console Columns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Kelly, you could use a "foreach" loop to iterate over the four lists,
and the "format" command to print the four values in a specific arrangement.
https://tcl.tk/man/tcl8.5/TclCmd/contents.htm
Giacomo
On Wed, Oct 10, 2018 at 4:05 PM McGuire, Kelly <mcg05004_at_byui.edu> wrote:
> I am writing dihedrals of 4 sidechains from a trajectory. Everything
> works great, except I would like to write the four lists of dihedrals in
> separate columns instead of on long list. How do I write separate columns
> spaced and next to each other? Thanks!
>
>
> *Kelly L. McGuire*
>
> *PhD Scholar*
>
> *Biophysics*
>
> *Department of Physiology and Developmental Biology*
>
> *Brigham Young University*
>
> *LSB 3050*
>
> *Provo, UT 84602*
>
>
>
-- Giacomo Fiorin Associate Professor of Research, Temple University, Philadelphia, PA Contractor, National Institutes of Health, Bethesda, MD http://goo.gl/Q3TBQU https://github.com/giacomofiorin
- Next message: McGuire, Kelly: "Re: VMD Tk Console Columns"
- Previous message: McGuire, Kelly: "VMD Tk Console Columns"
- In reply to: McGuire, Kelly: "VMD Tk Console Columns"
- Next in thread: McGuire, Kelly: "Re: VMD Tk Console Columns"
- Reply: McGuire, Kelly: "Re: VMD Tk Console Columns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]