[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

[vsnet-chat 1303] Re: vsnet charts



Re: [vsnet-chat 1302] vsnet charts

Dear Dr. Nelson,

> Is it possible to have the data columns aligned in the vsnet charts?  I was
> trying to edit the chart data using word and excel so that a chart could be
> produced with only stars brighter than a set magnitude would be included.
> With the data not aligned this is difficult, but if it were aligned it would
> be very straight forward.

   We have favored smallest possible changes in the format, since there
already exist a variety of softwares handling this format.  Some of them
may not be able to handle a modified format properly, but I can't tell the
result exactly.

   Some ideas in handling the present format:

Idea 1: replace " " with "," and read it as a CSV file (the number of spaces
     is always one between columns)

Idea 2: replace " " with a tab and read.

Idea 3: use awk-like script language, which we prefer.  A simple awk script

{
    if ($3 < 1700)
        print $0
}

     will easily select stars brighter than mag 17, and is quite simple
and flexibile.

Regards,
Taichi Kato

VSNET Home Page

Return to Daisaku Nogami


vsnet-adm@kusastro.kyoto-u.ac.jp