Groups | Search | Server Info | Login | Register


Groups > comp.lang.tcl > #55655

Re: Fixed limitation to 99 sequential plots in plotchart

From meshparts <alexandru.dadalau@meshparts.de>
Newsgroups comp.lang.tcl
Subject Re: Fixed limitation to 99 sequential plots in plotchart
Date 2026-04-14 09:43 +0200
Message-ID <10rkr7u$9end$1@tota-refugium.de> (permalink)
References <10r95fo$2lqv$1@tota-refugium.de> <1775803527-153@newsgrouper.org> <1776105413-153@newsgrouper.org>

Show all headers | View raw


Am 13.04.2026 um 20:36 schrieb Arjen:
> 
> Arjen <user153@newsgrouper.org.invalid> posted:
> 
>>
>> meshparts <alexandru.dadalau@meshparts.de> posted:
>>
>>> Not shure if the the github repo is monitored so here is a note on a bug
>>> fix that happens when plotting more than 99 sequential plots:
>>>
>>> https://github.com/tcltk/tklib/compare/master...Meshparts:tklib:patch-1
>>
>> Thanks for pointing this out. I thought that was fixed. But I will have a look!
>>
> 
> Indeed, it is not yet solved. I found the culprit though that caused the error
> for XY-plots. I will have to test that my solution works for all plots, but
> my change is in plotpriv.tcl:
> 
>      if { [string match {[0-9]*} $w] } {
>          set c [string range $w [string first . $w] end]
>      } else {
>          set c $w
>      }
> 
> Originally the second line was:
> 
>          set c [string range $w 2 end]
> 
> There are quite a few of these constructs.
> 
> Regards,
> 
> Arjen

I thought, the link I posted shows my changes, but maybe not, because I 
forgot to do a pull request?

My fix was:

set c .[join [lrange [split $w .] 1 end] .]

But your fix is shorter and look better.

Regards
Alex

Back to comp.lang.tcl | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Fixed limitation to 99 sequential plots in plotchart meshparts <alexandru.dadalau@meshparts.de> - 2026-04-09 23:25 +0200
  Re: Fixed limitation to 99 sequential plots in plotchart Arjen <user153@newsgrouper.org.invalid> - 2026-04-10 06:45 +0000
    Re: Fixed limitation to 99 sequential plots in plotchart Arjen <user153@newsgrouper.org.invalid> - 2026-04-13 18:36 +0000
      Re: Fixed limitation to 99 sequential plots in plotchart meshparts <alexandru.dadalau@meshparts.de> - 2026-04-14 09:43 +0200
        Re: Fixed limitation to 99 sequential plots in plotchart Arjen <user153@newsgrouper.org.invalid> - 2026-04-14 14:20 +0000
          Re: Fixed limitation to 99 sequential plots in plotchart meshparts <alexandru.dadalau@meshparts.de> - 2026-04-15 10:56 +0200

csiph-web