Hello everyone

I am having trouble with setting the axis range for a 3D scatter graph

using PyPlot




fig = figure()




scatter3D( [1 2], [1 2], [3 3], color="red")


axis([ mi[1]-3 ma[1]+3 mi[2]-3 ma[2]+3 mi[3]+3 ma[3]+3])


title("Generated Target")


grid("on")


show()




This works fine for me except am thrown an error for axis.  

*ValueError('v must contain [xmin xmax ymin ymax]',)*


I was just wondering how to set the axis for this graph.  
If I use 
axis("tight")

it indead makes all three axis tighter.

Thanks 

Sam

Reply via email to