<h2>org.das2.graph.TickVDescriptor</h2><p>A TickVDescriptor describes the position that ticks
 should be drawn, so that a fairly generic tick drawing routine
 can be used for multiple types of axes.</p>
<h2>TickVDescriptor( double[] minorTicks, double[] ticks, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Units.html'>Units</a> units )</h2>
<p>creates a TickVDescriptor with the given minor and major ticks.</p>

<h2>TickVDescriptor( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ticks )</h2>
<p>create the tickVDescriptor for a bunch of given ticks.  The first two ticks are used
 to derive minor ticks, using the DomainDivider code.</p>

<hr>
<a name="bestTickLog20210921"></a>
<h2>bestTickLog20210921</h2>
bestTickLog20210921( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> minD, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> maxD, int nTicksMin, int nTicksMax, boolean fin ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a>

<p>experimental code for calculating log ticks.</p>

<h3>Parameters</h3>
minD - a Datum
<br>
maxD - a Datum
<br>
nTicksMin - an int
<br>
nTicksMax - an int
<br>
fin - a boolean

<h3>Returns:</h3>
an org.das2.graph.TickVDescriptor

<br><br>
<a href="https://github.com/autoplot/dev/search?q=bestTickLog20210921&unscoped_q=bestTickLog20210921">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#bestTickLog20210921">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="bestTickVLinear"></a>
<h2>bestTickVLinear</h2>
bestTickVLinear( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> min, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> max, int nTicksMin, int nTicksMax, boolean fin ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a>

<p>return a set of linear ticks, within the given constraints.</p>

<h3>Parameters</h3>
min - the minimum
<br>
max - the maximum
<br>
nTicksMin - the minimum number of ticks.
<br>
nTicksMax - the maximum number of ticks.
<br>
fin - final, useful when debugging.

<h3>Returns:</h3>
an org.das2.graph.TickVDescriptor

<br><br>
<a href="https://github.com/autoplot/dev/search?q=bestTickVLinear&unscoped_q=bestTickVLinear">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#bestTickVLinear">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="bestTickVLogNew"></a>
<h2>bestTickVLogNew</h2>
bestTickVLogNew( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> minD, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> maxD, int nTicksMin, int nTicksMax, boolean fin ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a>

<p>return a set of log ticks, within the given constraints.</p>

<h3>Parameters</h3>
minD - the minimum
<br>
maxD - the maximum
<br>
nTicksMin - the minimum number of ticks.
<br>
nTicksMax - the maximum number of ticks.
<br>
fin - final, useful when debugging.

<h3>Returns:</h3>
the ticks.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=bestTickVLogNew&unscoped_q=bestTickVLogNew">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#bestTickVLogNew">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="bestTickVTime"></a>
<h2>bestTickVTime</h2>
bestTickVTime( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> minD, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> maxD, int nTicksMin, int nTicksMax, boolean fin ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a>

<p></p>

<h3>Parameters</h3>
minD - a Datum
<br>
maxD - a Datum
<br>
nTicksMin - an int
<br>
nTicksMax - an int
<br>
fin - a boolean

<h3>Returns:</h3>
org.das2.graph.TickVDescriptor

<br><br>
<a href="https://github.com/autoplot/dev/search?q=bestTickVTime&unscoped_q=bestTickVTime">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#bestTickVTime">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="bestTickVTimeOrdinal"></a>
<h2>bestTickVTimeOrdinal</h2>
bestTickVTimeOrdinal( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> minD, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> maxD, int nTicksMin, int nTicksMax, boolean fin ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a>

<p>return a set of ticks counting off ordinal time ranges, such as months, years, days, etc.</p>

<h3>Parameters</h3>
minD - the minimum
<br>
maxD - the maximum
<br>
nTicksMin - the minimum number of ticks.
<br>
nTicksMax - the maximum number of ticks.
<br>
fin - final, useful when debugging.

<h3>Returns:</h3>
an org.das2.graph.TickVDescriptor

<br><br>
<a href="https://github.com/autoplot/dev/search?q=bestTickVTimeOrdinal&unscoped_q=bestTickVTimeOrdinal">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#bestTickVTimeOrdinal">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="enclosingRange"></a>
<h2>enclosingRange</h2>
enclosingRange( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumRange.html'>DatumRange</a> dr, boolean minor ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumRange.html'>DatumRange</a>

<p>Defining method for getting the range close to the given range,
 but containing at least one minor(or major) tick interval.</p>

<h3>Parameters</h3>
dr - a DatumRange
<br>
minor - find the range from the minor ticks.

<h3>Returns:</h3>
a DatumRange

<h3>See Also:</h3>
<a href='null'>DomainDivider</a> <br>
<br><br>
<a href="https://github.com/autoplot/dev/search?q=enclosingRange&unscoped_q=enclosingRange">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#enclosingRange">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="findTick"></a>
<h2>findTick</h2>
findTick( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a> xDatum, double direction, boolean minor ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/Datum.html'>Datum</a>

<p>Locates the next or previous tick starting at xDatum.</p>

<h3>Parameters</h3>
xDatum - find the tick closest to this.
<br>
direction - -1 previous, 1 next, 0 closest
<br>
minor - find closest minor tick, major if false.

<h3>Returns:</h3>
the closest tick.  If there is no tick in the given direction, then
   the behavior is undefined.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=findTick&unscoped_q=findTick">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#findTick">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="getFormatter"></a>
<h2>getFormatter</h2>
getFormatter(  ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/format/DatumFormatter.html'>org.das2.datum.format.DatumFormatter</a>

<p></p>

<h3>Returns:</h3>
org.das2.datum.format.DatumFormatter

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getFormatter&unscoped_q=getFormatter">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#getFormatter">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="getMajorTicks"></a>
<h2>getMajorTicks</h2>
getMajorTicks(  ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a>

<p></p>

<h3>Returns:</h3>
org.das2.datum.DatumVector

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getMajorTicks&unscoped_q=getMajorTicks">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#getMajorTicks">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="getMinorTicks"></a>
<h2>getMinorTicks</h2>
getMinorTicks(  ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a>

<p></p>

<h3>Returns:</h3>
org.das2.datum.DatumVector

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getMinorTicks&unscoped_q=getMinorTicks">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#getMinorTicks">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="isDayOfYear"></a>
<h2>isDayOfYear</h2>
isDayOfYear(  ) &rarr; boolean

<p></p>

<h3>Returns:</h3>
boolean

<br><br>
<a href="https://github.com/autoplot/dev/search?q=isDayOfYear&unscoped_q=isDayOfYear">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#isDayOfYear">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="newTickVDescriptor"></a>
<h2>newTickVDescriptor</h2>
newTickVDescriptor( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> majorTicks, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/DatumVector.html'>org.das2.datum.DatumVector</a> minorTicks ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a>

<p></p>

<h3>Parameters</h3>
majorTicks - a DatumVector
<br>
minorTicks - a DatumVector

<h3>Returns:</h3>
org.das2.graph.TickVDescriptor

<br><br>
<a href="https://github.com/autoplot/dev/search?q=newTickVDescriptor&unscoped_q=newTickVDescriptor">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#newTickVDescriptor">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
newTickVDescriptor( <a href='https://docs.oracle.com/javase/8/docs/api/java/util/List.html'>java.util.List</a> majorTicks, <a href='https://docs.oracle.com/javase/8/docs/api/java/util/List.html'>java.util.List</a> minorTicks ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a><br>
<hr>
<a name="setDayOfYear"></a>
<h2>setDayOfYear</h2>
setDayOfYear( boolean dayOfYear ) &rarr; void

<p></p>

<h3>Parameters</h3>
dayOfYear - a boolean

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=setDayOfYear&unscoped_q=setDayOfYear">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#setDayOfYear">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="setFormatter"></a>
<h2>setFormatter</h2>
setFormatter( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/datum/format/DatumFormatter.html'>org.das2.datum.format.DatumFormatter</a> datumFormatter ) &rarr; void

<p></p>

<h3>Parameters</h3>
datumFormatter - a DatumFormatter

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=setFormatter&unscoped_q=setFormatter">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#setFormatter">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="ticksEqual"></a>
<h2>ticksEqual</h2>
ticksEqual( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a> a, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/TickVDescriptor.html'>org.das2.graph.TickVDescriptor</a> b ) &rarr; boolean

<p>check that the two are element-for-element equal, looking only at the tick values.</p>

<h3>Parameters</h3>
a - a TickVDescriptor
<br>
b - a TickVDescriptor

<h3>Returns:</h3>
true if they are equal
<br><br>
<a href="https://github.com/autoplot/dev/search?q=ticksEqual&unscoped_q=ticksEqual">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#ticksEqual">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>
<hr>
<a name="toString"></a>
<h2>toString</h2>
toString(  ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a>

<p>Returns a String representation of the TickVDescriptor.</p>

<h3>Returns:</h3>
a String representation of the TickVDescriptor.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=toString&unscoped_q=toString">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/graph/TickVDescriptor.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/graph/TickVDescriptor.html#toString">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/graph/TickVDescriptor.java">[view source]</a>
<br>
<br>