@Test
public void testBoundaries1()
{
final String X="axisX", Y="axisY";
RGraph<Double> g=new RBagPlot(X,Y, new File("someName"));
g.setXboundaries(5.5, 34.);
g.add(5.5,34.);g.add(5.5,34.);g.add(5.5,2.);g.add(7.5,2.);
Assert.assertEquals(Collections.singletonList("bagplot(c(5.5,5.5,5.5,7.5),c(34.0,34.0,2.0,2.0),xlab=\""+X+"\",ylab=\""+Y+"\")"),g.getDrawingCommand());
}