Completing the Logarithmic Scale Implementation

Today I was able to finish the implementation of logarithmic scales on both axes. Even better, I added the ability to specify a major interval for each axis separately. This value is used to determine the number of cycles and thus major ticks for linear axes; the number of intervals is determined automatically for logarithmic axes. A happy side effect of this was that axes can now display an arbitrary number of cycles in linear or logarithmic mode, as shown in the figure below. I also rearranged the code to be more modular and generalized.

This entry was posted in Software and tagged , . Bookmark the permalink.

Leave a Reply