| Author |
Comment/Response |
stefan
|
05/21/12 09:52am
I've been searching the forums and knowledgebase but cannot find my answer, although I did seem to find my question here and there. I'm using 8.0.4 on OSX, and find that when I try to add simple text to the right of a plot, it gets cut off at the same place the axis ends. I've tried plot and frame manipulations, and also followed the directions for doing this with drawing tools, but the result is the same. Test code:
g1 = ListLinePlot[{{1, 1}, {2, 2}, {3, 3}},
Filling -> {1 -> {Axis, LightRed}}, AxesLabel -> {"x", "y"}];
g2 = Graphics[Text[Style["white part", Medium], {1.5, 2.5}]];
g3 = Graphics[Text[Style["red part", Medium], {2.5, 1}]];
g4 = Graphics[
Text[Style["\[LeftArrow] dividing line", Medium], {3, 3}]];
Show[{g1, g2, g3, g4}]
I want the "dividing line" text to appear completely to the right of the plot. I've attached a pdf of what I get. Trying to move "dividing line" further out to the right just cuts it off more. In the picture you can also see the word "text" that I added using drawing tools. It also gets cut off. How to do what I want to do?
Attachment: plot.pdf, URL: , |
|