This commit is contained in:
Martin Pernollet 2014-12-27 12:58:36 +01:00
parent 1e7211e60e
commit 029ab5b718
3 changed files with 4 additions and 4 deletions

View File

@ -1001,7 +1001,7 @@ public class View {
cam.setRenderingSphereRadius(radius);
correctCameraPositionForIncludingTextLabels(gl, glu, viewport);
} else {
cam.setRenderingSphereRadius((float)bounds.getRadius());
cam.setRenderingSphereRadius((float)bounds.getTransformedRadius(transformers));
}
}

View File

@ -21,10 +21,10 @@ import org.jzy3d.plot3d.primitives.axeTransformablePrimitive.axeTransformers.Log
import org.jzy3d.plot3d.rendering.canvas.Quality;
public class ScatterLogTest extends AbstractAnalysis{
public class LogScatterTest extends AbstractAnalysis{
public static void main(String[] args) throws Exception {
AnalysisLauncher.open(new ScatterLogTest());
AnalysisLauncher.open(new LogScatterTest());
}
AxeTransformerSet transformers = new AxeTransformerSet(null, null,new LogAxeTransformer());

View File

@ -35,7 +35,7 @@ public class LogTest {
Range range2 = new Range((float)0.1,50);
int steps = 200;
AxeTransformerSet transformers = new AxeTransformerSet(new LogAxeTransformer(), null, null);
AxeTransformerSet transformers = new AxeTransformerSet(null, new LogAxeTransformer(), null);
// Create a surface drawing that function
CompileableComposite surface = axeTransformableBuilder.buildOrthonormalBig(new OrthonormalGrid(range, steps, range2, steps), mapper, transformers);