Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the construction of 2D and 3D graphics through the direct use of primitives, directives, and functions. Include the graphics3d tag for questions specifically on 3D graphics. This tag is not to be used for basic questions on visualizing functions and lists using the various flavors of Plot commands.
22
votes
Accepted
Create a Venn Diagram
The second method also has options for labeling the sets and graphics styling.
Fun example first! … [{
FaceForm[GrayLevel[0, .04]], EdgeForm[Black],
Style[setlabels, OptionValue@LabelStyle], disks, labels
}, FilterRules[{opts}, Options@Graphics]
]
]
]
I find the bounding box …
4
votes
Using fonts consistently for labels, axes and text in plots
As Simon Woods notes in the comments, removing Text and using LabelStyle gets you most of the way there. Also, the frame is gray by default, for some reason, but can set it to be black in FrameStyle. …
6
votes
Accepted
In Graph, can text and graphics be "layered"
{{_Text -> {}}, {_Disk | _Rectangle | _Arrow | _FilledCurve -> {}}}]
This uses Show to convert the graph to a normal graphics object, and then uses Show again to layer a copy with only the text over …
2
votes
Prevent Export from wrapping Row of plots
You can also use LineBreakWithin -> False, as in this answer:
ImportString@ExportString[
Style[Row[Table[Plot[Sin[x], {x, 0, 10}, ImageSize->300], 3]], LineBreakWithin -> False],
"PDF"
]
4
votes
Accepted
How can I load `MultipleListPlot` in Mathematica?
You can get this code to work by replacing MultipleListPlot with ListLinePlot, removing the SymbolShape and PlotJoined options, and adding the missing comma after i++:
n = 100;
task3a = Table[0, {i, …
7
votes
Accepted
Export grid of figures (not GraphicsGrid) to pdf
If you want to prevent line breaks in the exported image, you can use LineBreakWithin -> False (here I'm using ExportString instead of Export just for convenience):
row = Row@Table[Plot[x, {x, 0, 1}] …
3
votes
Accepted
Export ArrayPlot to pdf: Color outside frame
The pdf export is running into problems because the PlotRange you are using is cutting off half of each cell in the outside perimeter in your array. You can see even more vividly that Mathematica's pd …
4
votes
Accepted
GridLines make figure exported to EPS locally bitmap (?!)
GrayLevel[.8]:
fig = Show[ListPolarPlot[Table[{a, .9}, {a, 0, 2 Pi, .001}],
PlotRange -> {{0, 1.1}, {0, 1.1}}, GridLinesStyle -> GrayLevel[.8],
GridLines -> Automatic, PlotStyle -> PointSize[.005]],
Graphics …
4
votes
Plot for big x numbers
Might I suggest not making a plot like that? Whatever information that you are trying to get across will likely be clearer if you plot with x-values relative to $10^{15}$ and note that in the axes lab …