Hot answers tagged

25 votes

How to make figures in a casual, old-fashioned style

If you want grungy diagrams, you could always pass your graphics through JPEG export at a high level of compression, then re-import: ...
flinty's user avatar
  • 24.7k
19 votes
Accepted

How to use an image as a plot background

One can use Prolog to create a background for a Plot. ...
Karsten7's user avatar
  • 27.4k
17 votes
Accepted

Creating a Hexagonal Lattice with VoronoiMesh

Here is what I was suggesting in comments: ...
MarcoB's user avatar
  • 66.6k
17 votes
Accepted

PlotStyle like ocean waves?

You can get a little bit of sparkling by using a high Specularity coefficient, but the result tends to look more like shiny plastic than water. ...
Simon Woods's user avatar
  • 84.8k
16 votes
Accepted

Customize ColorData function

If you inspect the InputForm of the "ColorFunction" property for ...
kglr's user avatar
  • 392k
15 votes
Accepted

What are the default Frame / Axes styles and how can I find them?

Hunting through the stylesheets is effective, but does not necessarily give you the current value being used if it has been modified. Instead, use ...
rcollyer's user avatar
  • 33.9k
15 votes
Accepted

A Smooth and Round Voronoi Mesh

1 + 4 We can discretize the rounded Polygon objects and then add the negative of the mesh through Prolog. ...
Greg Hurst's user avatar
  • 35.7k
14 votes

PlotStyle like ocean waves?

Rotate it around and you'll see that M is "not there yet" as @J.M. notes. From just about any point of view, it cannot really model sunlight reflecting off the surface. (If M can, then I can'...
Michael E2's user avatar
  • 234k
14 votes
Accepted

Mathematica 12.3.1 CapForm does not work with ContourStyle anymore?

Dashing was extended in 12.3. As such, you need to specify the cap type as part of the dashing spec. i.e., ...
ihojnicki's user avatar
  • 3,026
14 votes
Accepted

What is a numeric value of PlotStyle?

The syntax PlotStyle -> n is an abbreviation for using the indexed color scheme: PlotStyle -> ColorData[Number]. There are ...
Domen's user avatar
  • 21.5k
13 votes
Accepted

How can I create a help button that looks more "professional"?

Why not just use the graphic in the question, or any other images that you like: Use ImageSize to control the final size of the button: An alternative, that I use ...
Mike Honeychurch's user avatar
13 votes

Creating a Hexagonal Lattice with VoronoiMesh

If you are not completely attached to Voronoi, you might consider tiling with hexagons and then perturbing their coordinates. GraphicsComplex makes it work. Define ...
KennyColnago's user avatar
  • 15.2k
12 votes

Guidelines for planning custom GUI in Mathematica

Things to keep in mind when developing complex GUI in Mathematica: Wolfram System general issues: Styles management/inheritance system (StyleSheets and friend) It is complicated, full of exceptions ...
12 votes
Accepted

Using different style on segments of a plot

MeshShading ...
kglr's user avatar
  • 392k
12 votes
Accepted

Style in Graphics or Graphics3D?

In Graphics and Graphics3D Style behaves mostly as a grouping construct like ...
Mr.Wizard's user avatar
  • 271k
12 votes

How to create parabolic mesh?

Unfortunately, I don't know how to completely fix that plotting artifact at "z" axis. ...
Pinti's user avatar
  • 6,503
12 votes

How to create parabolic mesh?

Update: Better mesh grid This code, while using the parametrization in my original answer that removes the glitch at the z-axis, better reproduces the mesh in the OP's figure. One problem all the ...
Michael E2's user avatar
  • 234k
12 votes

How to share stylesheets (with a preview)?

Preview Notebooks / Extra Paclet Features I decided it was worth it to add some extra features to this thing as it's a good example of what paclets can do for you. First off, I added a little ...
b3m2a1's user avatar
  • 46.8k
12 votes
Accepted

An odd Grid style

ItemSize >> Properties and Relations: "Controls and graphics will by default expand to fit the available area." So we can use a graphics object as ...
kglr's user avatar
  • 392k
12 votes

How to remove artifacts in Plot3D?

Plot3D[ArcTan[x/y] + ArcTan[y/x], {x, -1, 1}, {y, -1, 1}, Exclusions -> "Singularities"] To "close" the exclusions: ...
eldo's user avatar
  • 60.2k
11 votes
Accepted

Styling polar axes in PolarPlot

AxesStyle modifies the Cartesian axes, not the polar ones: ...
MarcoB's user avatar
  • 66.6k
11 votes

How can I create a help button that looks more "professional"?

Here's the general way this type of thing seems to be handled in the built-in things plus code to build the type of buttons you want. First the button code: ...
b3m2a1's user avatar
  • 46.8k
11 votes

Replicating a PlotStyle from Trees, Maps, and Theorems

Try the following: (if you don't understand what an option does, leave a comment - but please look in the documentation center first) ...
Lukas Lang's user avatar
  • 33.6k
11 votes
Accepted

How to fine tune the style of IntervalMarkers -> "Bands"?

For "Bands", you can use FaceForm to style fillings. So, using ...
kglr's user avatar
  • 392k
11 votes
Accepted

Font style inconsistency on "number sign" (hashtag) and "at symbol"

Style has a PrivateFontOptions option with suboption OperatorSubstitution. With the default ...
creidhne's user avatar
  • 4,875
11 votes

How to scale the parenthesis like how the LaTeX \left \right commands do?

Use the SpanMaxSize option on each parenthesis. ...
B flat's user avatar
  • 5,513
11 votes
Accepted

Shading of Dataset area

Dataset[dt, Alignment -> Right, Background -> {{"ita" | "por", "20" | "21" | "22"} -> GrayLevel[.9]}] ...
kglr's user avatar
  • 392k
10 votes
Accepted

Acessing style information of TimeObject and DateObject DisplayForm

One can get these information using CurrentValue[{StyleDefinitions, "TimeObject", "TemplateBoxOptionsDisplayFunction"}] and ...
Karsten7's user avatar
  • 27.4k
10 votes

How can I create a help button that looks more "professional"?

A couple of images that come with Mathematica. Caveat: There's no guarantee that they will be present in all (future) versions. ...
Michael E2's user avatar
  • 234k
10 votes

How to increase dash length in DotDashed

Dotted, Dashed, and DotDashed all evaluate as they are shorthand for a full ...
rcollyer's user avatar
  • 33.9k

Only top scored, non community-wiki answers of a minimum length are eligible