| Ticket UUID: | 8b8128917bd5ed232e1bfa7f13d4fb403d4551a0 | |||
| Title: | Format for axis labels does not work with log x-y plots | |||
| Type: | Bug | Version: | 2.5.0 | |
| Submitter: | arjenmarkus | Created on: | 2022-01-26 07:16:37 | |
| Subsystem: | tklib :: plotchart | Assigned To: | aku | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2022-02-13 14:58:10 | |
| Resolution: | Fixed | Closed By: | arjenmarkus | |
| Closed on: | 2022-02-13 14:58:10 | |||
| Description: |
In a log x-y plot with large numbers I wanted to turn the labels on the x-axis to exponential notation. This led to an empty axis instead. Here is a code fragment that will illustrate this problem:
# plotlog.tcl --
# Demonstrate problem with axis label format
#
package require Plotchart
pack [canvas .c -width 800 -height 600 -bg white]
set p [::Plotchart::createLogXYPlot .c {1.0e4 1.0e10 10.0} {0.0 150.0 25.0}]
$p xconfig -format %12.4e
| |||
| User Comments: |
arjenmarkus added on 2022-02-13 14:58:10:
It took me some debugging to solve it, but it had to do with the world coordinates versus the actual drawing. That is less than trivial, but the example works fine now. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki