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

new logic when log ticks when 1.5 cycles is shown doesn't consider number of pixels #43

Open jbfaden opened 1 year ago

jbfaden commented 1 year ago

In Autoplot, you can see where a ticks logic doesn't consider the height of the Y-axis when picking ticks for a log axis:

  1. plot 48.0 to 970.0, log, for the yaxis
  2. tear off the canvas
  3. make the plot shorter or taller, and note that the number of ticks doesn't change.

image

image

jbfaden commented 1 year ago

I keep forgetting to get back to this.

jbfaden commented 12 months ago

I did make it so the number of ticks change, but it still looks poor for very short intervals. image

jbfaden commented 2 months ago

I just noticed this case where the first cycle is 2,4,6,8,10 and the second cycle is 3,5,7,9: image