Skip to main content
23 votes
Accepted

Making a graph or network interactively over an image

There are many ways to do this, modifying, improving my method or doing a completely different thing. My goal here is to show a very basic idea that should give you a start. ...
Vitaliy Kaurov's user avatar
21 votes
Accepted

Art on mathematica with filled circles and straight paths: how can I reproduce minimalist suns?

...
kglr's user avatar
  • 401k
18 votes
Accepted

Art on Mathematica: How can I export 4K resolution png images?

There are a couple ways to do this! One is with ImageSize, and one is with RasterSize (probably recommended), and they have ...
thorimur's user avatar
  • 9,080
15 votes
Accepted

Writing code for a diagram

Use MaTeX? MaTeX["\\feynmandiagram[horizontal=a to b] {i1--[anti fermion] a--[anti fermion] i2,a--[photon] b};", Magnification -> 2] Note that this ...
Nasser's user avatar
  • 150k
13 votes
Accepted

Is there a way to "freehand draw" in Mathematica, and pick up the plotted data in real time?

Edit: I made the size of the graphic generalised so you can have any size of canvas and any thickness of line As Szabolcs said in a comment, there is an example of that in the documentation. Hating ...
lowriniak's user avatar
  • 2,412
13 votes
Accepted

How can I draw this image and if you can make it rotate horizontally and vertically?

This is the process of reconstructing the polyhedron Icosahedron. ...
cvgmt's user avatar
  • 84.1k
11 votes
Accepted

How can I draw a ruler?

Something to point you in a possible direction... Updated a second time with some modifications from the original. (I clearly have too much time on my hands today and I fully recognize the silliness ...
Jagra's user avatar
  • 14.6k
11 votes

Draw number spirals

...
cvgmt's user avatar
  • 84.1k
10 votes
Accepted

Drawing hollow disks in 3D with an sphere in center and small spheres on the rings

Bells and whistles. Doesn't replicate the crossings of the orbits in the artwork, but it's more consistent. Colors and lighting are a bit hard to get right. ...
Michael E2's user avatar
  • 245k
10 votes

Writing code for a diagram

The arrows can be drawn using "Arrow" and for the wiggly line we use a Bezier curve. For the Bezier curve some control points are needed. We choose control points at a distance of +/-0.5 ...
Daniel Huber's user avatar
  • 56.4k
10 votes

How can I draw this image and if you can make it rotate horizontally and vertically?

...
kglr's user avatar
  • 401k
9 votes

Drawing hollow disks in 3D with an sphere in center and small spheres on the rings

One of many ways to get 3D hollow disks is to use Annulus[] to specify the region in Plot3D: ...
kglr's user avatar
  • 401k
8 votes
Accepted

Can Mathematica create a sheet of virtual graph paper on which user can draw lines with the mouse?

Have you seen the basic drawing tools? e.g. starting from ...
C. E.'s user avatar
  • 71.2k
8 votes
Accepted

How to draw a parenthesis-like shape?

How about this using rectangles instead of Lines? ...
flinty's user avatar
  • 25.9k
7 votes

Draw number spirals

A more concise version: n=5; pts=ReIm@FoldList[Plus,0,I^-Floor[Sqrt[4Range[n^2-1]-3]-1]]; Graphics[{Line@pts,Point@pts,MapIndexed[Text[Tr@#2,#+{.1,.1}]&,pts]}] ...
chyanog's user avatar
  • 15.8k
6 votes
Accepted

Draw half arrow

We can also design a new arrow style by use Graphics ...
cvgmt's user avatar
  • 84.1k
6 votes

Drawing hollow disks in 3D with an sphere in center and small spheres on the rings

A start: ...
David G. Stork's user avatar
6 votes

Drawing hollow disks in 3D with an sphere in center and small spheres on the rings

Second thoughts (borrowing some code from How to draw a circle in 3d on a sphere): ...
Jagra's user avatar
  • 14.6k
6 votes
Accepted

What is the purpose of StrokeForm?

Answering the question myself, I would say that StrokeForm is one of specialized compound-type graphics directives: EdgeForm, <...
Alexey Popkov's user avatar
6 votes

How can I draw this image and if you can make it rotate horizontally and vertically?

Building on cvgmt's answer ...
Bob Hanlon's user avatar
  • 163k
5 votes
Accepted

Is it possible to draw a hollow circle using polygon?

Polygon is always filled (it can be filled with white). Use Circle for a "hollow" circle. ...
Bob Hanlon's user avatar
  • 163k
5 votes
Accepted

How to draw a shaded elipse using drawing tools?

I'll build on David's answer (if you vote for this one, please also vote for his), since it's been a while since anyone demonstrated the excellent shadow` package on this site. We start by defining ...
C. E.'s user avatar
  • 71.2k
5 votes
Accepted

How to draw the outline of an icon made of several polygons?

With Mathematica 12 a possible approach is OuterPolygon: ...
andre314's user avatar
  • 19k
5 votes

Draw half arrow

This looks like the unicode character "rightwards harpoon over leftwards harpoon", with code U+21cc. It can be found here. We might use it in Mathematica like this: ...
C. E.'s user avatar
  • 71.2k
5 votes

Art on mathematica with filled circles and straight paths: how can I reproduce minimalist suns?

Something like: ...
Daniel Huber's user avatar
  • 56.4k
5 votes

Draw number spirals

We can define the spiral matrices recursively, by observing when n is odd we add a column to the left of the n-1 matrix, and a ...
ydd's user avatar
  • 6,934
5 votes
Accepted

Draw number spirals

...
azerbajdzan's user avatar
  • 25.1k
4 votes

How to author a workflow?

Update: Using annotationArrow with LocatorPane to have multiple annotation arrows (use ALT+Click to create new locators or to ...
kglr's user avatar
  • 401k
4 votes
Accepted

How to draw different colors on a 2D plot with color depending on xy coordinates?

OK, I've managed to fix both performance and jaggedness problems. For this, I just had to use DiscretizeRegion combined with ...
Ruslan's user avatar
  • 7,182
4 votes
Accepted

Draw: vector drawing & technical illustration application

I just downloaded and tried it. I think this is what one is supposed to do: 1. After you make the drawing first time, like this: then save the notebook. But the notebook is not not meant to be the ...
Nasser's user avatar
  • 150k

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