ZTics.java
/*
* Created on 2005/08/04
* Copyright (C) 2005 Koga Laboratory. All rights reserved.
*
*/
package org.mklab.tool.graph.gnuplot.decoration;
/**
* z軸の目盛り刻みを表すクラスです。
*
* @author koga
* @version $Revision: 1.6 $, 2005/08/04
*/
public class ZTics extends Tics implements Cloneable {
/**
* 新しく生成された<code>ZTics</code>オブジェクトを初期化します。
*
* @param start 始点
* @param increase 増分
* @param end 終点
*/
public ZTics(double start, double increase, double end) {
super(start, increase, end);
}
/**
* @see org.mklab.tool.graph.gnuplot.decoration.GnuplotComponent#getCommand()
*/
@SuppressWarnings("nls")
public String getCommand() {
return "set ztics " + getStart() + ", " + getIncrease() + ", " + getEnd();
}
/**
* Object#clone()
*/
@Override
public Object clone() {
ZTics inst = new ZTics(this.getStart(), this.getIncrease(), this.getEnd());
return inst;
}
}