Re: [ploticus] field names with spaces / commas?
- On Sun, 25 Jul 2004, dagoldman wrote:
> I want to automatically generate bar charts with differingThere's currently no way to embed a space or comma in field names.. they
> values for NRECORDS and NFIELDS. They'll look something like
> The proc getdata documentation for fieldnameheader and
> fieldnames clearly says field names cannot include spaces
> or commas. The documentation for fieldnamerows seems to say
> the same, and the fieldnamerows example has no spaces.
> Question 1: Is there some way to allow spaces and commas
> in field names? If no way to allow spaces and commas, is
> this something that could be added?
are like varnames. However, it should be easy to allow some way to encode
spaces and commas.. I'll try to implement this for the next release.
If you compiled from source code I'd be glad to get something to you that
you could use before the next release comes out.. if so, let me know.
> Question 2: Is the method in students.htm the only general methodThe tricky thing about students.htm is that it produces bar clusters with
> to produce the type of output illustated by the students.htm
> example, or are there alternate methods? I should probably
> be overjoyed that it works at all! I'm just exploring options...
the number of bars per cluster driven by the number of data fields. Any
approach that does this is going to have to check the # of data fields and
iterate over them, using #proc bars cluster attribute.. I can't see any
other way to do the same thing.
>Stephen C. Grubb scg@...
> Daniel Goldman
> Yahoo! Groups Links
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA