The usage of the subplot() command should be the same as in MATLAB, e.g. using GR
x = linspace(-3.8, 3.8) y_cos = cos(x) y_poly = 1 - x.^2./2 + x.^4./24 subplot(2, 2, 1) plot(x, y_cos) subplot(2, 2, 2) plot(x, y_poly, "g") subplot(2, 2, [3, 4]) plot(x, y_cos, "b", x, y_poly, "g") ... will produce the following plot: <https://lh3.googleusercontent.com/-rY-wsc2rq2g/V5SFy8e29sI/AAAAAAAAADo/jclNwWajNlEQsI1VhpauV-6LPt5TJERrwCLcB/s1600/gks.png> On Saturday, July 23, 2016 at 8:58:10 PM UTC+2, Ted E wrote: > > Hi, > > I am having a bit of trouble figuring out how to use the subplots function > in GR.jl (awesome package btw!) > Does anyone have an example of how arrange plots on a grid using the > function? > > Best, > > Ted >
