summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGrAxis.C
Commit message (Collapse)AuthorAgeFilesLines
* partial backout of zero value logscale mergeWilliam Joye2019-03-221-2/+2
|
* Improve drawTextBBox nameAdrián Medraño Calvo2018-10-261-4/+4
|
* Merge pull request #20 from prs-de/log-scale-zerov3.2.12William Joye2018-10-081-2/+2
|\ | | | | Correct display of zero values with -logscale 1
| * Correct display of zero values with -logscale 1Adrián Medraño Calvo2018-10-081-2/+2
| | | | | | | | | | | | | | In order to do that, improve the clipping functionality in tkbltGrMisc.C to support infinite coordinates. It also now provides more information with regards to its processing, letting tkbltGrElemLine.C use that same routine instead of duplicade the clipping code.
* | Prevent unreasonable axis limitsAdrián Medraño Calvo2018-10-081-0/+6
|/
* Axis tick labels: zero out any extremely small numbersv3.2.11William Joye2018-09-211-0/+4
|
* Expand scale range to be at least DBL_EPSILONAdrián Medraño Calvo2018-07-131-8/+20
| | | | | | | | | A very small data range (from zero to a small floating point subnormal) caused nTicks to be excessively big, ending up in a request for a huge memory allocation for the axis. This commit limits the number of ticks and the scale range to values less than the floating point epsilon.
* Add -tickformat axis option, rename -command option to -tickformatcommandAdrián Medraño Calvo2017-07-281-7/+15
|
* Stop checking for NULL before freeAdrián Medraño Calvo2017-07-281-34/+16
| | | | The 'delete' operator checks whether the lvalue is NULL before freeing.
* Add cmath and printf wrappers for WindowsAdrián Medraño Calvo2017-07-211-0/+1
| | | | Needed for compiling with MSVC 2010.
* Enforce explicit downcasting of numeric valuesAdrián Medraño Calvo2017-07-211-12/+12
| | | | | | | As part of the change, upgrade tkblt internal structures from short/float to int/double, as those are artifacts of the legacy code relying on X. Downcast to short at the latest stage: when interfacing with X.
* Remove superfluous literal suffixesAdrián Medraño Calvo2017-07-211-1/+1
|
* Upgrade getBoundingBox angle to doubleAdrián Medraño Calvo2017-07-211-4/+4
|
* Place axes within their area when using multiple axis in a single marginAdrián Medraño Calvo2017-07-201-51/+51
|
* Better align with TEA's expected file layoutAdrián Medraño Calvo2017-07-181-0/+1971
TEA is quite picky about packages placing their sources in the generic/, unix/, etc. directories. An immediate benefit of this change is support for building in a separate directory.