Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Polar diagram with TCL

Status
Not open for further replies.

Natiya

Programmer
May 14, 2017
12
ES
Hi everyone,

does anyone know a graphs library or any way to plot a polar diagram with TCL? Would it be possible to do it in an Excel/csv file?

Thank you!
 
Hi Natiya,

There is the Plotchart library:

If you want to see an example look at [url ]plotdemos7.tcl[/url] in [url ]examples/plotchart[/url]

In case that Plotchart is not installed on your system, you can use teacup like me:

Code:
C:\_mikrom\Work>[highlight #FCE94F]teacup install Plotchart[/highlight]
Resolving Plotchart ... [package Plotchart 2.3.4 tcl @ [URL unfurl="true"]http://teapot.activestate.com[/URL]]
...
...

Retrieving package Plotchart 2.3.4 tcl ...@ [URL unfurl="true"]http://teapot.activestate.com[/URL] ... Ok

Installing into C:/Program Files (x86)/ActiveState/Tcl/lib/teapot

Installing package Plotchart 2.3.4 tcl

C:\_mikrom\Work>[highlight #FCE94F]tclsh plotdemos7.tcl[/highlight]

Working with Excel in Tcl on Windows is also possible:
 
any idea on how to close the plot pop-ups in example plotdemo7.tcl? Apparently, in order to save it, you need to execute the canvas bit but then one needs to close the plots manually?

Thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top