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

How to Create Lissajous Figures for Driven Damped Pendulum (as an animation/with Manipulate)

I wanted to know how can I generate a Lissajous plot for the forced driven pendulums (but for one pendulum in my case): (https://demonstrations.wolfram.com/ForcedPendulumsWithDamping/). I tried using ...
0
votes
1answer
37 views

Export Long Plot with No Whitespace

Observe the following code: ...
2
votes
1answer
48 views

Wrong geometric output using Graphics when changing the order of objects

I have observed a strange behaviour with the following data for two lines and a point. Depending on the order in Graphics, Mathematica produces different geometric outputs. Does anybody know the ...
3
votes
3answers
438 views

Connecting the closest points on circles with a line

Suppose I have the function f[c_, z_] := z^2 + c and the following collection of circles in the plane. This is a simple example with only three circles, disjoint ...
1
vote
1answer
61 views

Using Mathematica, can the contents of a tooltip be written to the paste buffer?

I have an application where tooltips are used to give information on each of a graphical array of objects. I subsequently want to use the content of the tooltip to create any particular object of ...
0
votes
1answer
33 views

How to plot clusters with binary matrix and coordinates?

I have to lists, xcor and ycor that contain the $x$-axis and $y$-axis coordinates of $N$ nodes. The nodes are divided into $C$ non overlapping clusters. The clustering information is provided in a ...
1
vote
1answer
42 views

Edge thickness in directed path graph doesn't respond

I have the following code to draw a lattice path in 3D: ...
3
votes
2answers
134 views

Importing an image and getting the real size between circles

I have taken this picture from a scientific paper: The paper says that the size of picture is 92.3 microns. By importing the picture in Mathematica and right-clicking on it and using Get Coordinates, ...
4
votes
1answer
211 views

How can I draw a ruler?

I would like to draw a ruler in the vertical position. Ideally, the numbers are horizontal and I can choose begin, end and steps (eg from 1000 to 1200 with steps of 10).
1
vote
0answers
40 views

Logarithm scaling of y-axis in paramteric plot

Logarithm Scaling of a normal plot is fairly simply with the LogPlot command but I couldn't find anything for scaling a for scaling of a parametric plot. If I want to draw a paramteric plot with y-...
0
votes
0answers
35 views

PolarPlot and PolarPlot3D in Decibel

I'd appreciate it if someone could help converting my code so that the graph shows value in Decibel, which normally can be easily done using the formula below. I managed to draw the graph in ...
1
vote
1answer
98 views

Why is ComplexPlot So Slow?

I'm plotting the spherical harmonics on $\phi\in(-\pi,+\pi)$ and $x=\cos\theta\in(-1,+1)$, ...
1
vote
0answers
78 views

Drawing smooth regions like RegionPlot[] from a set of data points

I have a set of data points githubdata and I want to draw the smmooth region that they occupy. I want a result similar to what we get when we use RegionPlot[]. When I ListPlot[] my data, I get the ...
0
votes
0answers
22 views

Colors in `ParametricPlot` are inconsistent [duplicate]

Why are the colors in the second plot different from those in the first plot? Am I doing something wrong, or is this a bug? ...
0
votes
2answers
93 views

Marking specific points in mathematica plot

How can I use different figures like square, triangle, etc. to mark these points?
0
votes
0answers
43 views

Interactive 3D Connect dots

I have some 2d slices of a 3d model - These are comprised of points and lines. I want to connect them using something like nearest neighbors, but some of the points in each 2D slice are too far apart ...
4
votes
1answer
145 views

Were these Images made with Wolfram Language / Mathematica?

I am currently writing a paper in which Fibonacci Spirals are discussed. In the text of the paper the mathematics of these objects is discussed and the relevant equations and relationships are shown ...
-1
votes
0answers
22 views

Plot 2 variables with DensityPlot3D

I'm solving two coupled 3D differential equations (time dependent Schrodinger equations of two evolving particle packets) and would like to somehow overlay the two particles in one 3D density plot. ...
0
votes
1answer
42 views

How to Debug Error in PDF Export?

I have a complex graphic with text which exports correctly as a jpg or png file but if I export it as a PDF then some of the sloping letters are missing. How can I go about debugging it? For the sake ...
1
vote
1answer
57 views

plot graph of function with different constants

I need to plot the graph of : $v(t) = \frac{-mg}{b} (e^{-\frac{b}{m}t}+1)$ , where $ g = 9.8 m/s^2$ and $b$ and $m$ are positive constants. Is there a way to plot this without having to define random ...
1
vote
0answers
43 views

Uneven dashing in 2D plot [closed]

I am plotting an expression using the Dashed directive, but the dashing appears as unevenly spaced. Here is the code: ...
1
vote
1answer
38 views

PlotRange values changed by AspectRatio and PlotLabels

I'm running into a strange issue with ListPlot. I'm trying to plot some data with particular values for PlotRange, PlotLabels, and AspectRatio. However, if I enforce the desired values for PlotLabels ...
3
votes
1answer
63 views

Graphing Markov chains / decision trees

I'm looking to graph a simple one-way Markov chain, which is effectively a decision tree with transitions probabilities. One way I've got this working in here in an MWE, here's a simple Markov chain ...
0
votes
0answers
16 views

Exported Frame Tick Labels Don't Look Anti-aliased

I have a frame with labeled gridlines and I'm exporting it as a PNG. I am using ImageResolution to scale it up. This is the output I get when there is no function being plotted (it has an alpha ...
2
votes
2answers
62 views

How to fill an Ellipses?

I am very new to Mathematica and I am plotting a standard deviation and represent it in ellipses form. But I am having a trouble filling it in with a color instead of showing a dot in the center. ...
3
votes
1answer
95 views

How can I put two contour plots into the same figure while displaying only one legend?

testfig = ContourPlot[Sin[x^2 + y^2], {x, -Pi, Pi}, {y, -Pi, Pi}, PlotLegends -> Automatic]; ...
1
vote
0answers
20 views

How can I ask mathematica to fill in small marginal area in regionplot3d? [duplicate]

I am stuck at how to fill in some marginal area in my regionplot3d. Here is my code. ...
2
votes
1answer
35 views

Overlay Two Plots, One With Extended Domain and the Other With Frame

I need to export two versions of a plot as PNG images and have them line up perfectly in an external program. One version needs to have gridlines and a frame at specific points, and the other version ...
1
vote
1answer
31 views

Alternate Frame Ticks, Only Label Specific Ones [closed]

I have the following function that I would like to plot: ...
4
votes
1answer
55 views

Shrink ListPlot Marker Size to Zero

I am trying to create a ListPlot where the size of each marker is controlled individually. The best solution I have found so far is to wrap every data point in <...
1
vote
1answer
31 views

Add a style to a table in `Graphics[Point[{…}]]`

I want to create a graphic of a series of points. It's easy as long as I don't want to style the points: ...
3
votes
1answer
68 views

Mesh with Prescribed Vertices

Mathematica has documentation for triangulating regions bounded by curves using e.g. TriangulateMesh. This is very useful for the work that I (aspire to) do drawing pictures of complicated surfaces ...
0
votes
0answers
41 views

Uniform Color distribution with the command Show[]

I have the following definitions: ...
0
votes
0answers
25 views

Why AxesLabel disappear when the plots are combined?

I want to combine plot1 and plot2 and keep using the AxesLabel. But when they are combined by ...
0
votes
0answers
32 views

How to get rid of the white margins in picture export?

I made a manipulate box to show some spherical harmonics decomposition, and everything is working great (but it's very slow, when I add more harmonics!). Then I need to export the picture, without ...
2
votes
1answer
62 views

How to compare two graphs of companies data

I can plot a graph for one company at a time. For example : ...
0
votes
0answers
15 views

Curved text layout with UnderoverscriptBox support

There are a few questions related to laying out strings of text along curves, Text along a lemniscate curve, How can I wrap text around a circle? and others. See the GIST. Most answers either layout ...
3
votes
1answer
41 views

Overlapping ArrayPlot with Grid

There is one 2D List of data, like {{2,3,0},{1,0,0},{0,0,1}}, which I'd like to plot in the form of the following image (drawn ...
3
votes
1answer
96 views

Do we have an eyedropper?

Assume you are not in Manipulate or Animate or anything dynamic. It would be really nice to be able to touch a color in an image and seed colors into ImageRecolor. Have I overlooked a function?
2
votes
3answers
108 views

dynamic `FramelLabel` and `Legend`

How to create a dynamic FramelLabel and dynamic Legend for various parameter y1? ( for the commands ...
11
votes
4answers
908 views

The correct way to draw this fractal

As shown in the picture, I want to draw such a fractal When the number of iterations is greater than 2, my code can't get the expected result ...
0
votes
0answers
26 views

GraphicsGrid $\to$ Beep “The shared stylesheet ”Stylesheet-review-topics.nb“ could not be \ found. The default stylesheet will be used instead.”

12.0.0 for Microsoft Windows (64-bit) (April 6, 2019) I have a notebook in which using GraphicsGrid causes a beep "The shared stylesheet "Stylesheet-review-topics.nb" could not be found....
1
vote
1answer
37 views

How to align Text within Graphics?

Consider the code ...
1
vote
0answers
44 views

Graphics get cropped when wrapped in Hyperlink and Inset in MMA 12.2 (doesn't seem to happen on 12.1 RPi) Bug?

I've noticed that wrapping a Graphic[] in Hyperlink[] causes weird things to happen when using ...
0
votes
0answers
47 views

How can I improve on Image3D to produce higher resolution and better colors?

Most of the pixels in this image are black, but Image3D displays them as transparent. That's actually good for my application, but it is unexpected without an alpha channel. The main problem is ...
2
votes
1answer
34 views

GraphicsRow with labeled plots resizes plots?

Here is a simple example: a = Plot[x^2, {x, 0, 10}] aa = Labeled[Plot[x^2, {x, 0, 10}], "a", Top] GraphicsRow[{a, aa}] Which gives the following image ...
1
vote
0answers
59 views

Is there a simple method to make a 3D cube from six square matrices?

I'd like to use Graphics3D to display a cube with an image on each face of the cube. Before I start padding x,y matrices to make x,y,z matrices, I thought I would ask the forum for any other ...
4
votes
0answers
103 views

Dynamica Mathematica package for the book “Discrete Dynamical Systems and Difference Equations with Mathematica” by Kulenovic and Merino [closed]

Cannot download the package from http://www.math.uri.edu/Dynamica/ (shows a 404 Not found error), can someone send me the package in a .zip file? I have the book, the book refers to the above link to ...
5
votes
2answers
230 views

Copy graphical style of Slider2D

Slider2D@{.5,.5} makes a draggable orange point with gray lines in a square. I want to use that dot in my plots. I also want to use that color and thickness of ...
0
votes
0answers
38 views

Problem with Grid inside the GraphicsGrid

I am trying to put table in the form of Grid into GraphicsGrid. Here is my code: ...

1
2 3 4 5
79