Package org.renjin.graphics.device

Examples of org.renjin.graphics.device.AwtGraphicsDevice


    Graphics2D g2d = (Graphics2D) image.getGraphics();
    g2d.setColor(Color.WHITE);
    g2d.setBackground(Color.WHITE);
    g2d.fill(g2d.getDeviceConfiguration().getBounds());
   
    AwtGraphicsDevice driver = new AwtGraphicsDevice(g2d);
    topLevelContext.getSingleton(GraphicsDevices.class).setActive(new GraphicsDevice(driver));
   
    try {
      eval("barplot(c(1,2,3), main='Distribution', xlab='Number')");
    } finally {
View Full Code Here

TOP

Related Classes of org.renjin.graphics.device.AwtGraphicsDevice

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.