das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

resolution when tickValues is specified #23

Open jbfaden opened 2 years ago

jbfaden commented 2 years ago

Ali and Darrelle noted that when manual ticks (tickValues) are used that excessive and inconsistent resolution is used. For example, for angles we have 0,50,100,150 by default, but then when +30 is requested, then 0.0,30.0,60.0,90.0,120.0,150.0, and 180.0 are printed. Ali had to go through and manually block out the extraneous ".0" on each number.

jbfaden commented 2 years ago

This can be used to demo the bug: https://jfaden.net/AutoplotServlet/ScriptGUIServlet?range=0+to+180&spec=%2B30&script=https%3A%2F%2Fgithub.com%2Fautoplot%2Fdev%2Fdemos%2F2021%2F20211130%2FcalculateManualTicksApp.jy