Questions tagged [graphics]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

3D Plot does not render if function is long

I have a long function (r[x,y]) that I need to plot. This function is the product of a number of other subfunctions having different parameters. ...
2
votes
2answers
23 views

Why is there a discrepency between JoinedCurve/FilledCurve and the underlying BSplineCurve segments?

This may be related to How to discretize a BezierCurve?, but this question deals with BSplineCurves with specific SplineWeights, ...
0
votes
0answers
17 views

Plot Graphics Copy/Paste Error

During copying/pasting of the Graphics output from ListLinePlot and ListPlot, I regularly but inconsistently have a pasted image that has issue with the image bounding. For example, This occurs with ...
0
votes
1answer
21 views

multivariate Gaussian distribution with identity covariance

I want to draw Geometry (or contours) for multivariate Gaussian distribution with identity covariance matrix (or draw decision boundary). How this is possible via Wolfram's online at Here? Please ...
2
votes
1answer
89 views

How to move point to front of an axis

I'm trying to create an animation of derivative. My problem is very simple: a point is hidden behind the x-axis. This is my code: ...
2
votes
2answers
59 views

Overlay Graph3D with Graphics, with aligned coordinates

I have a Graph3D object representing a 3D lattice path ...
4
votes
3answers
281 views

Stacked time series plot

I have multiple time series measured in different units. I want to have a stacked plot of my data with a common x-axis. An example would be here. For illustration, here is my data. ...
1
vote
2answers
84 views

Plotting Minkowski product of two sets in complex 2D plane

I am trying to draw Minkowski product of two sets in complex 2D plane in Mathematica. While I can draw the individual complex 2d plane for these sets in Mathematica ...
0
votes
0answers
52 views

Histogram of the roll of a die during “n” trials [closed]

How can I get something like this example so that on the y-axis appears the number of tests and on the x-axis a histogram with the numbers from 1 to 6. The idea is that the bars accumulate the number ...
-2
votes
2answers
147 views

How would I go about creating a tear drop shape of cubes in mathematica? [closed]

I am just practicing making some new designs with Mathematica and I thought of this recently. I want to make a tear drop shape (doesn't matter the orientation) constructed of mini cubes. I am ...
7
votes
2answers
320 views

How can I extract the edge points from an image?

I want to extract the edge points from a text image and use ListPlot[points] to visualize those points: I tried to used ...
1
vote
1answer
80 views

Lévy C curve fractal from a substitution systems in NKS book p.190?

How can I make the geometrical transformation described in the page 190 in the New Kind of Science book by Stephen Wolfram to produce the fractal pattern? https://www.wolframscience.com/nks/p190--...
0
votes
0answers
42 views

Intersection Region of two Conic Hull

I have the following semi-infinite conic hull, r1=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{1,0,1}}]; r2=ConicHullRegion[{{0,0,0}},{{-1,0,0},{0,-1,0},{0,1,1}}]; ...
13
votes
3answers
2k views

How can I reproduce this mandala with Mathematica?

I found this image on the Internet and it is very beautiful. How can I reproduce it? The ideal would be to be able to control the colors of the outside as well as the center.
2
votes
0answers
35 views

Extract original vertex from VoronoiMesh

Consider a set of random coordinates. pts = SortBy[RandomReal[{-1, 1}, {25, 2}], {First, Last}]; and find it's VoronoiMesh, <...
6
votes
2answers
167 views

Converting a 2d surface into a 3d volume

I have a 2d surface shown in the image below using ListPlot3D[]: It is generated with one line of code: ...
6
votes
2answers
74 views

Converting a RawBoxes object to a workable expression

I have manged to turn an image into a RawBoxes expression. How do I turn in back into something I can use in Graphics? In ...
2
votes
2answers
61 views

Converting a translated filled curve into a region

How do I convert a translated filled curve into a region? It works without translation: ...
4
votes
1answer
84 views

Graphics dimensions (imprecise `PlotRange` function)

Is there a function that gives you dimensions of Graphics? I mean x and y dimensions of ...
10
votes
2answers
249 views

How can I plot my financial indicator below a trading chart (produced by TradingChart) with the same x-axis?

Since this question was not answered, I would like to ask again with some additional information. I have a trading chart saved as chart1 as follows. ...
2
votes
1answer
48 views

Placing text over a rectangle using graphics

I need to add some text to rectangles that I am using as a scale bar. I want the text right above the rectangle and centered. Here's my code: ...
1
vote
0answers
33 views

Global phase portrait [duplicate]

How to use Mathematica to draw global phase portrait that reflect critical points at infinity to Poincare sphere equator with all trajectories shown.
1
vote
2answers
73 views
2
votes
1answer
103 views

How to import and cut n images in 6 parts hopefully proportional to the written and export them to a directory?

I tried to get it well formatted but I won it I hope the question is understood I'm using the google form which allows you to do multiple choice tests, if they were language no problem, the problem ...
4
votes
2answers
85 views

How to draw bin edges?

I would like to show the edges on the following produced histogram: This works as expected in terms of edges: ...
2
votes
2answers
43 views

Strange Show Behavior

When attempting to overlay a Discrete Plot on a Histogram, no matter the order I pass each argument in Show, the Histogram stacks over the Discrete Plot. Is it possible to lay the DiscretePlot over ...
1
vote
0answers
19 views

I can’t get show to work correctly [closed]

I have four graphs to show together. I’ve named them first, second, third, and fourth. When I use Show[first, second, third, fourth] it only gives the graph of the first one. When I use GraphicsRow[...
1
vote
2answers
89 views

How to make such good detailed plot with color bars?

The paper consists a no of plots which have color bars as axis but I think all of them followed the same procedure, I want to plot such good looking plots (like fig 1 or 2 or any)can anybody guide me ...
5
votes
1answer
129 views

Node editor and visual programming

Node editors are all the rage especially in image processing pipelines and shader programming in game engines. For example, here's a stackoverflow question about implementing a Blender-like node ...
0
votes
1answer
48 views

How to combine lineplot and 3dplot in mathematica having same axes?

I want to merge the 2dline plot to 3dplot. any help will be appreciated. ...
1
vote
1answer
79 views

Create a color gradient using a variable?

Let say I have a function F[x_,y_]:=x^2+6y^(3/2) Now I want to plot a 2D plot of F[ ] vs x ...
0
votes
0answers
48 views

Adding brackets to schematic graphic [closed]

I have a schematic here that I would to add brackets between the dotted lines to mark distances. However, it is awkward when I try to insert "[" in a text box and scale it up. If I drag the ...
3
votes
1answer
113 views

Removing locators breaks labels

I have some locators in a LocatorPane and want to let users remove them. Unfortunately, it seems doing this conflicts with the ...
7
votes
2answers
609 views

Shortest way to make a checkerboard pattern

I'm looking for the shortest (in terms of characters) code snippet to make an n-square checkerboard. Here's my first try (comes in at 72 characters): ...
3
votes
1answer
60 views

Color gradient in graphics?

I would like to color gradient (Red to Blue) the following curve: gr = Graphics[{Arrow[BezierCurve[{{0, 3}, {.8, 2}, {1.8, 1.7}}]]}] Any help will be appreciated.
2
votes
4answers
96 views

Stacking multiple graphs together in separate plots

I have been working on a problem where I wanted to stack multiple graphs on top of each other in the following format I tried to look for solutions to do the same but I could not. The closest I could ...
2
votes
2answers
89 views

How to draw tilted axes for spacetime diagrams

I want to use Mathematica to draw spacetime diagrams. In particular, on one of these diagram, I'd like to draw two pairs of axes. The first pair $(t,\,x)$ for the rest frame and the second pair $(t',\...
1
vote
1answer
23 views

GeoRegionValuePlot Leaving Out Metropolitan Census Tracts

Preamble Run this code in the preamble for a working example of what I'm dealing with. Census Tract Entity Store ...
0
votes
0answers
25 views

Finding the maxima and shading the region from $x=0$ to the $x=max$

I have the following code: ...
2
votes
3answers
70 views

Trying to get text in square to transform together

I use Graphics[{EdgeForm[Thick], LightGray, Rectangle[], {Black, Text[Style[F, FontSize -> 442, Bold, FontFamily -> Arial], {1/2, 1/2}]}}] to put an "...
1
vote
2answers
70 views

How can I plot Sinc function and avoid their auto-replicas?

The problem is to plot the 3D Sinc function, but I cannot avoid the self-projection. I use the following code: ...
3
votes
2answers
286 views

Cube cutting problem

Show[Graphics3D[{Cuboid[]}], ContourPlot3D[{x==1/3,y==1/4,z==1/5},{x,-0.2,1.2},{y,-0.2,1.2},{z,-0.2,1.2}]] Three planes divide the unit cube into 8 small cubes, ...
4
votes
1answer
51 views

Lower limit of PointSize and Thickness

I want to plot a very large dataset and therefore I need to use very small points or lines. It seems Thickness and Pointsize has ...
5
votes
1answer
75 views

Can I get a VertexOpacity-like feature when displaying graphics?

I am wondering: why there is no option for VertexOpacity, while there is for VertexColors? ...
1
vote
0answers
23 views

How to make the frame axes and frame labels/numbers look darker? [closed]

For example, take this mathematica generated figure: As you can see, the frame edges and frame label are always a bit too "gray-ish" by default. This makes the figures not look crisp. How ...
0
votes
2answers
59 views

Make a density plot from a file where the data makes a shape with a hole in it

I have a .dat file and I want to make preferably a density (or surface) plot with it. ...
2
votes
3answers
86 views

3D plot of Intersection of sphere with plane (basic)

I should be able to get this from the answer here - but, with apologies, I'm afraid I can't figure it out. I have a sphere and a plane as follows: ...
2
votes
2answers
86 views

Colour region by some property

I have some circles placed at random within a region (here, the region is a circle-circle intersection). ...
0
votes
1answer
58 views

It is possible to generate a diffraction plot from the equation

I have this equation $$ D = 1.22 \frac{\lambda f}{R_{0} \sqrt{1+2 \alpha\Delta T}} $$ in which D is the diameter of the circular opening, and the parameters I want to vary to analyze the diffraction ...
4
votes
1answer
56 views

Adjust axes in Plot3D as python do

I want to compare same plot with mathematica and python but they use different order of axes. I tried to change them in Plot3D such that they look like the ...

1
2 3 4 5
75