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
43 views

How to plot a series of arrows from a list of vectors?

Suppose I had a list of 3-vectors as a time series like the following: ...
1
vote
0answers
27 views

Addint surface features to ellipsoid to visualize rotation

I am currently plotting an ellispoid using the following code ...
2
votes
1answer
56 views

Make a 3d plot of 2d “slices”

I have two 2D plots which came from taking slices of a 3D data set of the form (x,y,z,intensity). I manually "sliced" the data set to get the slices I wanted from two planes of interest and plotted ...
0
votes
0answers
39 views

Interpolation,graph

I need to make a program in which for a function f(x) = e× ×(2x-7) / ( 3x2-4x+11) and values { 0,1,2,3,4,5,6} finds cubic spline interpolaric function for the corresponding values amd draw a graph for ...
1
vote
0answers
31 views

Difference between AspectRatios

Consider the following mesh given by ...
1
vote
1answer
57 views

Mathematica image won't display

I need some help getting RegionPlot to display. Running this code: ...
1
vote
1answer
38 views

How to change color of DistanceTransform image?

I want to overlay a set of points onto a distance transform of them. But I don't really like the black default color of the distance transform. Is there a way to change this? Given the points ...
8
votes
2answers
93 views

Independent RoundingRadius specifications for all corners

I need help creating a Rectangle (or Framed) where the roundness of each corner is specified separately. For example, I would ...
4
votes
1answer
65 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 ...
16
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. ...
0
votes
0answers
27 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
45 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
29 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
43 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
28 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 ...
4
votes
1answer
46 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
34 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
45 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. ...
0
votes
1answer
54 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
53 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
40 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
660 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. ...
12
votes
3answers
582 views

Generate better looking correlation table

I have this code: ...
3
votes
1answer
130 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
65 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
45 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
40 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
55 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
77 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
44 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 ...
11
votes
2answers
515 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
57 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
191 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
77 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 ...
1
vote
2answers
120 views

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

If you run something like this; ...
2
votes
0answers
38 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 ...
16
votes
3answers
426 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
187 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
84 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
84 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
49 views

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

Here is the code for my GraphicsRow: ...
0
votes
1answer
65 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
97 views

Intersection between shape and line

I have a shape with some lines. Both are graphics in Mathematica. ...
2
votes
1answer
68 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
52 views

Sine Wave Graph Custom X Axis and Y Axis

I have the next code: ...
6
votes
1answer
240 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
45 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. ...
2
votes
1answer
41 views

Adding a second axis with different scale [duplicate]

Let's consider the following simple example Clear["Global`*"]; S0 = Plot[Sin[x], {x, -10, 10}, Frame -> True] Now, I want to add a second horizontal axis (at ...
4
votes
2answers
138 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
78 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 ...

1 2 3 4 5 70