From: Roger O on
I use the ::blt::stripchart to plot data, often contained in a vector
managed via the C API. The data in the vector has a valid range of
values on the Y axis. There is a data value that indicates it is out
of range. All the traces on the stripchart do not have the same range
of valid data. What is valid for one may not be valid for another.

I want to indicate that some values along the trace are valid, and
some are not. But how? I do not see any way to have a line in the
stripchart be a different color when it is within specified ranges of
values.

I have tried setting the value to one that will not be shown in the
plot. Unfortunately, a line is drawn to/from that point to the valid
value, which looks odd. So I do not think this is a way to go.

Am I missing an (not so) obvious way to deal with this?

--
Roger Oberholtzer
From: Uwe Klein on
Roger O wrote:
> I use the ::blt::stripchart to plot data, often contained in a vector
> managed via the C API. The data in the vector has a valid range of
> values on the Y axis. There is a data value that indicates it is out
> of range. All the traces on the stripchart do not have the same range
> of valid data. What is valid for one may not be valid for another.
>
> I want to indicate that some values along the trace are valid, and
> some are not. But how? I do not see any way to have a line in the
> stripchart be a different color when it is within specified ranges of
> values.
>
> I have tried setting the value to one that will not be shown in the
> plot. Unfortunately, a line is drawn to/from that point to the valid
> value, which looks odd. So I do not think this is a way to go.
>
> Am I missing an (not so) obvious way to deal with this?

I only ever used [graph], but:

the marker stuff?

uwe
From: JHJL on
On Feb 11, 3:35 pm, Uwe Klein <uwe_klein_habertw...(a)t-online.de>
wrote:
> Roger O wrote:
> > I use the ::blt::stripchart to plot data, often contained in a vector
> > managed via the C API. The data in the vector has a valid range of
> > values on the Y axis. There is a data value that indicates it is out
> > of range. All the traces on the stripchart do not have the same range
> > of valid data. What is valid for one may not be valid for another.
>
> > I want to indicate that some values along the trace are valid, and
> > some are not. But how? I do not see any way to have a line in the
> > stripchart be a different color when it is within specified ranges of
> > values.
>
> > I have tried setting the value to one that will not be shown in the
> > plot. Unfortunately, a line is drawn to/from that point to the valid
> > value, which looks odd. So I do not think this is a way to go.
>
> > Am I missing an (not so) obvious way to deal with this?
>
> I only ever used [graph], but:
>
> the marker stuff?
>
> uwe- Hide quoted text -
>
> - Show quoted text -

Have a look at the stripchart -styles, -weights element options and
the pen component. Perhaps these may help
From: MSEdit on
On Feb 11, 4:35 pm, Uwe Klein <uwe_klein_habertw...(a)t-online.de>
wrote:
> Roger O wrote:
> > I use the ::blt::stripchart to plot data, often contained in a vector
> > managed via the C API. The data in the vector has a valid range of
> > values on the Y axis. There is a data value that indicates it is out
> > of range. All the traces on the stripchart do not have the same range
> > of valid data. What is valid for one may not be valid for another.
>
> > I want to indicate that some values along the trace are valid, and
> > some are not. But how? I do not see any way to have a line in the
> > stripchart be a different color when it is within specified ranges of
> > values.
>
> > I have tried setting the value to one that will not be shown in the
> > plot. Unfortunately, a line is drawn to/from that point to the valid
> > value, which looks odd. So I do not think this is a way to go.
>
> > Am I missing an (not so) obvious way to deal with this?
>
> I only ever used [graph], but:
>
> the marker stuff?
>
> uwe

Hi,

You need to look at the weights and pens section. These are covered in
the demo scripts.
I think it is graph2.tcl that has examples you can change segment
styles and symbols I believe.

Martyn
From: sd on
I call a while back that Mr. GH was working on a new version of BLT
that is compatible with newer releases of tcl/tk. Does anyone know if
that's still the case?

Regards
sd/
 |  Next  |  Last
Pages: 1 2
Prev: tdbc and posgresql
Next: .net & Tcl