Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Vertical space added in GraphicsRow' topicStudent Support Forum > General > Archives > "Vertical space added in GraphicsRow"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda ben-shimol
09/26/11 11:06pm

Try this one. Control the whole image size of the plot yourself

Needs["PlotLegends`"]
plot = Plot[{x, 2 x, 3 x, x^2}, {x, -5, 5},
ImageSize -> 460 {1, 1/GoldenRatio},
PlotStyle -> {{Red, Thick}, {Purple, Thick}, {Blue, Thick}, {Black,
Thick}}, PlotRange -> All, LegendSize -> .5, Frame -> True,
Axes -> False, BaseStyle -> {15, FontFamily -> "Times"},
FrameLabel -> {"x label (unit)", "y label"},
PlotLegend -> {"Option 1", "Option 2", "Option 3", "Option 4"},
LegendPosition -> {.85, .0}];
plot2 = Plot[{x + 2 x + 3 x + x^2}, {x, -5, 5}, ImageSize -> 460,
PlotStyle -> {{Red, Thick}, {Purple, Thick}, {Blue, Thick}, {Black,
Thick}}, PlotRange -> All];
GraphicsRow[{plot, plot2}, Spacings -> Scaled[-.2]]


yehuda


URL: benshimo@bgu.ac.il,

Subject (listing for 'Vertical space added in GraphicsRow')
Author Date Posted
Vertical space added in GraphicsRow Jason 09/24/11 00:30am
Re: Vertical space added in GraphicsRow yehuda ben-s... 09/26/11 11:06pm
< Previous CommentHelp | Reply To Comment | Reply To Topic