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
1
vote
1answer
58 views

Mathematica image won't display

I need some help getting RegionPlot to display. Running this code: ...
11
votes
3answers
169 views

Independent RoundingRadius specifications for all corners

I need help creating a Rectangle (or Framed object) where the roundness of each corner is specified separately. For example, I ...
4
votes
1answer
72 views

MaTeX shadow option?

When I create my graphics, I find that the tex objects created with MaTeX either clash with other objects (such as a coordinate grid) or, if I add a background, erase too much. Is there another option ...
19
votes
3answers
1k views

How to make this Dragon Curve?

I made it by another software, and met some problems to change it into MMA code. ...
1
vote
1answer
68 views

Why can I not adjust the point color? It just goes black

Here is my code here. Please help me correct this. How to make these 2 points Blue and Orange respectively? ...
0
votes
0answers
33 views

Why does using `Plot3D` with `RealAbs` cause a white space at kink but using `Abs` doesn't?

Consider the following plot: Plot3D[RealAbs[(x-5)+y],{x,4.999,5.001},{y,0,0.001}] The above plot has a white space where the derivative has a discontinuous jump (...
1
vote
0answers
63 views

Reversing x-axis scale in ListPlot3D

I am trying to reverse the x-axis using ScalingFunctions but it's not working. I have a 3D plot with x, y and z scale in increasing order, but I want the x-axis to ...
2
votes
0answers
33 views

can I plot a manipulable 3d graphic?

I am a petroleum engineer, I want to plot a wellpath in a 3D graphic if possible, I have the following data: Measured Depth, Inclination, and Azimuth. Can I plot a 3D fully manipulable graphic on ...
0
votes
0answers
50 views

Problem with animation

I am trying to animate an elastic collision and i don't how to code to describe the motion after the impact. Here's a piece of code: ...
0
votes
1answer
46 views

How can I plot function density plot Hyper-geometric /Bessel function with complex arguments?

I am interested in the plot of a function in terms of hypergeometric and Bessel function with complex arguments, Here, it is my code, but the result is incorrect, the solution must be defined every ...
5
votes
1answer
51 views

Image artifacts while using BSplineCurve

Mathematica provides an example of visualizing a Hilbert curve using splines as a Graphics object in this entry in its documentation system. However, when one attempts to change the thickness, some ...
4
votes
1answer
44 views

Rotate Ticks in a Histogram

I have a histogram like the one presented here by @kglr (Combine BarChart and TimeLinePlot). For the sake of brevity, I excluded the issue with timelineplot: <...
0
votes
0answers
47 views

Workaround for Opacity + Magnify bug in version 12?

Is there a workaround for the following bug in version 12.0.0. This is in MacOSX. ...
1
vote
1answer
69 views

Denominator contribution in a 3D Plot

In an earlier post I asked for a 3D plot of Plot3D[Sqrt[((x^2 + y^2)/((x*y) + 1))], {x, -20, 20}, {y, -20, 20}] along with it's integer roots and in turn plot of ...
1
vote
2answers
66 views

How to add colors and legends to plots with “Show” [duplicate]

I have lets say three plots A, B, C. I know that in order to plot them on top of each other I can use Show function and it will show them all together, Is there a ...
0
votes
0answers
48 views

How to use MMA to make these triangles into a Pentagon according to the equal length side?

I tried to use Polygon but failed. ...
10
votes
2answers
695 views

How to draw a Pythagoras tree like this

I want to draw a Pythagoras tree like the one below: But I can only do this now, and still can't do random colors. ...
13
votes
3answers
599 views

Generate better looking correlation table

I have this code: ...
3
votes
1answer
137 views

Mathematica's Graphics imperfections (deficiency)

The following Graphics behavior is annoying. Plotting several identical lines over each other makes the line thicker and thicker. But the correct behavior should be - the line should stay same no ...
1
vote
1answer
90 views

How can I plot the “sol” in the following?

I'm trying to plot the following differential equation for different values of P but no succes: ...
0
votes
1answer
46 views

Control line thickness in 2D graphics in terms of original coordinates

I would like to create a 2D graphics with lines, connecting points at integer coordinates and control the line's thickness expressed in the original coordinate system. E.g. ...
1
vote
1answer
41 views

How can I give different colors to each ListLinePlot combined with Show[]

I tried to assign different colors for each ListLinePlot combined with Show, but none of the things I tried with ...
3
votes
1answer
59 views

How to draw graph consists of nodes with half edges attached to them?

I want to draw a graph with some nodes and some half edges attached to them. Basically something like number a) in the following picture Of course I can just draw each node and each half-edge one by ...
4
votes
2answers
103 views

TableView: How to change column headings?

I am not even sure whether it is possible. I would like to change column headings of TableView output to letters such as A, B, C etc instead of 1,2,3. Here is an example: ...
-1
votes
1answer
47 views

frame->False not working [closed]

Plot[x, {x, 0, 5}, Frame -> False, FrameTicks -> None, FrameStyle -> Directive[Red, Dotted]] I also tried FrameTicks none, and it doesn't seem to be ...
12
votes
2answers
585 views

A Smooth and Round Voronoi Mesh

I want the edges of a VoronoiMesh to be smooth and round. I have found the following code from this answer ...
1
vote
1answer
63 views

Showing all elements from a list

I have a list with graphics. Some of elements in the list are None type, how can I display all elements from that list on one picture? ...
12
votes
2answers
205 views

Adding positional guides to multiple points in 3D plots?

I have a graph showing multiple points in 3D space and need to accurately be able to represent their position. I'm looking to add dropping points underneath similar to this example graphic: I could ...
2
votes
2answers
90 views

Gridlines for multiple plots when displayed by Show

Question Suppose that I am using Show to display several plots — for example, two plots and three contourplots. Is there a nice way to add gridlines? Elaboration I ...
1
vote
2answers
122 views

Why aren't CirclePoints[] evenly distributed? [closed]

If you run something like this; ...
2
votes
0answers
40 views

Exporting Manipulate objects as .mov without UI controls [duplicate]

For a video project I am using Mathematica to create graphic mathematical visuals. However, I can't quite find the necessary setting in order to get a good looking image. I am using ...
18
votes
3answers
509 views

Using Regions, can I model a reflecting wavefront?

I was wondering if I could get Regions and Mathematica's shapes to do all the hard work for me in making a "droplet in a pond" simulation. I do not want the "waves" ...
6
votes
5answers
202 views

Maximizing efficiency of a power-tower (tetration) calculation

I'm working on a power tower $\displaystyle z^{z^{.^{.^{.}}}}$ and wish to maximize the efficiency of my algorithm to compute a cycle map. This is a color-coded diagram of the cycle period of each ...
4
votes
2answers
106 views

Using Padding and Margins with Graphics object

I have relatively simple question. I need to control size and background color of the following two zones separately (indicated by blue and magenta arrows on the figure). Using ...
5
votes
1answer
99 views

Setting options of object after defining it

Is it possible to edit the options of an object like Plot or Graphics after I store it as a variable? For example, consider the ...
2
votes
1answer
53 views

GraphicsRow can't display the result that I want [closed]

Here is the code for my GraphicsRow: ...
0
votes
1answer
70 views

Plot a family of solutions of ODE with singularity

In the post Use Mathematica to plot the flow of an ODE with discontinuity, the following ODE with discontinuous coefficient was solved ...
5
votes
1answer
115 views

Intersection between shape and line

I have a shape with some lines. Both are graphics in Mathematica. ...
2
votes
1answer
69 views

Cannot remove ragged edges of TransformedRegion plot

I am working with two mappings of a region in the complex plane and I can't eliminate the ragged edges of the region in the second map and do not see anyway to add points to make the perimeter smooth ...
1
vote
1answer
58 views

Sine Wave Graph Custom X Axis and Y Axis

I have the next code: ...
6
votes
1answer
243 views

Solving ODEs vs VoronoiMesh

I'm using VoronoiMesh to model cells in an epithelium. The concentration of certain proteins within the cells are determined by solving a system of ODEs per cell. ...
4
votes
1answer
58 views

How can I have the aspect ratio for objects drawn by Epilog be different from the aspect ratio use for the plot?

Plot with default aspect ratio. ...
5
votes
3answers
204 views

Drawing a Kagome lattice for given geometry

I came across this question in stack exchange. Modified the answer a bit to get a lattice structure like this. ...
3
votes
2answers
80 views

Making figure from list of tuples

I am generating all possible configurations of NN elements comprising only 0 or 1 as sB[NN_] := Tuples[{0, 1}, NN] Using this, for fixed NN I would like to ...
4
votes
1answer
54 views

Work-arounds for GraphicsData not showing in Wolfram Cloud?

I often copy-paste things from LatexIt or OmniGraffle into Mathematica notebooks. The results are GraphicsData objects which don't render in the Wolfram Cloud. Is ...
1
vote
1answer
43 views

Show, if possible, small isolated “islands” in the unit cube using RegionPlot3D

I have a certain three-dimensional constraint ...
0
votes
1answer
31 views

Can't display a `BooleanRegion` in the Wolfram Cloud Notebook

I can't manage to display a BooleanRegion in the Wolfram Cloud Notebook: ...
0
votes
1answer
53 views

How to segregate communities detected in a graph? [closed]

I have detected the communities from a given graph but I can't segregate them into individual components so that I can find the properties of the communities. As I have clarified in the comments ...
4
votes
1answer
523 views

Merging two 2D wave animations into one 3D animation?

I have an electric field, Elec[d_, w_, q_, r_, t_] = -((q accel)/(4 \[Pi] Subscript[\[Epsilon], 0] r c^2)) Subscript[\[Epsilon], 0] := 8.85*10^-12 c := 3*10^8 ...
4
votes
1answer
81 views

How to calculate an area of a conformal map enclosed shape?

I need to calculate the area of a conformal mapping closed shape on the complex plane that gives the perimeter. I have the following parameters: ...

1 2 3
4
5
73