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
0 answers
34 views

Rotating only one of two plot labels?

I have the following plot: ...
user avatar
6 votes
0 answers
78 views

Annoying black line in tilted LinearGradientFilling

This Graphics[{LinearGradientFilling[{{0, Blue}, {1, LightBlue}}, -Pi/4], Rectangle[{0, 0.6}, {0.6, 1}], Filling -> Left}] produces this graphic The diagonal ...
user avatar
3 votes
1 answer
42 views

Making a plot half the width and height of another plot?

I have the following plot: P1=Plot[1000*Exp[-0.03*t],{t,0,100},Frame->True] Is there a simple way to make another plot whose frame is is half the width and ...
user avatar
5 votes
5 answers
225 views

Finding the height and width of a plot?

I have the following plot: Plot[x^2,{x,0,100}] Is there a function that determines the plot's current height and width? And how can I change these dimensions?
user avatar
2 votes
2 answers
121 views

Adding a second legend to Plot?

I have the following plot: Plot1=Plot[Exp[-0.03*t,{t,0,1000}]; Show[Plot1,LineLegend[{Black,Gray,Cyan},{"test1","test2","test3"}]] ...
user avatar
0 votes
0 answers
32 views

Plot marker at a specific coordinate? [closed]

I have the following plot: Plot1=Plot[Exp[-0.03*t],{t,0,100}] Is there an easy way to put a marker (say, a triangle) only at the point (0,50)?
user avatar
0 votes
0 answers
52 views

Could not combine the graphics objects in Show [closed]

...
user avatar
  • 43
1 vote
0 answers
29 views

Placing plots around a circle with SectorChart

I need to position some graphs around a circle so that each occupies a sector. There're 18 graphs in total and the first five are shown below: ...
user avatar
  • 1,252
-2 votes
1 answer
78 views

How to connect 100 random points on a ring through the shortest path?

I would like to generate 100 random points on a ring and connect them through the shortest path. The appropriate ordering function is also needed. It should look like this: and then this: Could ...
user avatar
10 votes
2 answers
765 views

How can I generate a Swiss-Cheese type region and render it transparent?

I am trying to visualize a percolation model that is equivalent to a swiss-cheese where the holes are conducting. At some point, the size of the holes gets large enough for them to touch and a ...
user avatar
  • 101
0 votes
0 answers
23 views

Image clipped when combining graphics with Show [duplicate]

When combining two graphics with Show, the final image is clipped. Why is this happening and how to fix it? ...
user avatar
0 votes
0 answers
66 views

ListPointPlot3D

I'm plotting with ListPointPlot3D, but the plot is fuzzy. I don't understand why. Can you help? ...
user avatar
4 votes
0 answers
101 views

High Quality animation with Export?

This is my second question here. Recently I've been trying to compile a video simulation of wave propagation via ComplexPlot[] with ...
user avatar
  • 93
0 votes
0 answers
38 views

Removing commas and brackets from this output

Being a Mathematica beginner, how can I remove the brackets and the comma's in this output? And, how can I make the rectangles touch? ...
user avatar
5 votes
1 answer
111 views

RegionFunction is not working for ComplexPlot

Bug introduced in version 13.0 I'm very new to mathematica and I've just begun plotting colorplots for Complex functions. Currently, I'm trying to set the output to be only restricted to the unit disk ...
user avatar
  • 93
1 vote
1 answer
50 views

Making text larger without changing size of superscript?

I have the following plot: ...
user avatar
2 votes
1 answer
120 views

Estimating values from a timeseries picture

I have the following picture (one of several hundred): I want to basically read out every y-value for every year on the x-axis from this graphic and create a data table from it. For example, I want ...
user avatar
  • 2,703
0 votes
0 answers
59 views

How to Bring the XY Contour Plot Inside a ListPointPlot3D

The code below nicely takes 10000 pairs of {x,y,z} coordinates generated by a system of recurrence equations and plots them as ListPlot3D and ListPointPlot3D. I would like to incorporate the xy ...
user avatar
  • 1,039
0 votes
1 answer
58 views

How to make each value of a data set a different marker?

I have multiple data lists on a ListLogPlot. There are 8 data lists and each data list has 6 {x,y} points, and I want each point to have a different marker, on the same plot. Is this possible? My code ...
user avatar
  • 11
2 votes
2 answers
67 views

Overlaying lattice graph and evaluation over lattice

I am new to Mathematica and am wondering how to plot a function over a lattice, and have it's lattice be shown beneath it (with edges). Say we have some function $f(x,y)$ (doesn't matter what) for ...
user avatar
  • 313
5 votes
1 answer
121 views

PlotRangeClipping is not working correctly with ListLinePlot?

Bug introduced in 12.3 or earlier and persisting through 13.0.1 ...
user avatar
2 votes
1 answer
68 views

A simple way to make one stream line in StreamPlot thicker, or change its color?

Simple way to highlight streams in basins of attraction in StreamDensityPlot gives a beautiful way for coloring differently the manifolds of a phase-plot, i.e. ...
user avatar
  • 896
0 votes
1 answer
55 views

Different colors for Thread in ListPlot

Suppose I have two functions (the actual functions are different than these) defined as f[i_,k_]:=i^(0.01*k), g[k_]:=2/k I want to get many Listplots for ...
user avatar
2 votes
1 answer
70 views

Strange behaviour in GeometricTransformation

I came across the following strange behaviour with the GeometricTransformation function. ...
user avatar
  • 3,524
9 votes
2 answers
263 views

Using circles with various radii and colors in ListPlot

I have a big list that I'd want to plot using 'Listplot.' I replaced it with list = Table[{x, -10 + Abs@(x^2)}, {x, -3, 3, 0.3}] I wish to have a plot as the below ...
user avatar
  • 1,453
5 votes
1 answer
104 views

Style Does Not Work in ListLinePlot

The documentation indicates simple, consistent, and intuitive usage for wrappers in ListLinePlot and ListLinePlot3D. However, ...
user avatar
0 votes
0 answers
25 views

SubscriptBox Text font in Graphics[Text[Style["..."]]]

In this code in Graphics and Text Style, Graphics[Text[ Style["!(N_b)\n U(1!(*SubscriptBox[()), (V)])"]]] I obtain the $V$ in italic font, but I wanted ...
user avatar
  • 823
3 votes
2 answers
164 views

How to check if points lie within a circle

So we have two graphs overlapping with the Show[] function, one is a network of connected points, and the other displays three circles over the top of the points. I'm trying to check which points lie ...
user avatar
3 votes
3 answers
103 views

I need to create a series of polygons from a list of lists that form a stair step shape

This code ...
user avatar
  • 579
0 votes
1 answer
75 views

Two locators in separate plots using Manipulate

I want to create two figures, side by side, each with an independent Locator. I want to do this using Manipulate, because I can easily use information from each Locator in both plots. This answer did ...
user avatar
4 votes
1 answer
63 views

Making Tooltips Work with Buttons in 3D Plots

I am trying to get buttons to work simultaneously with tooltips in 3D plots. Button has a Tooltip option, but it doesn't seem to ...
user avatar
2 votes
2 answers
109 views

Animated contour plots inside multiple shapes

I am new to Mathematica and have recently been trying to investigate solar weather on power grids. I have managed to plot the power grid being studied where the vertices are substations and would like ...
user avatar
25 votes
3 answers
2k views

Animating battlefield data map of war in Ukraine

UPDATE on FINAL RESULT Thanks to @SquareOne effort I generated higher-resolution videos with smoothing transitions that can be seen here: https://www.linkedin.com/feed/update/urn:li:activity:...
user avatar
4 votes
0 answers
77 views

Label Arbitrary Edges as Axes for 3D Graphics

In any 3D plot in Mathematica, there are 12 edges that, theoretically, can be labeled as axes. We can use AxesEdge to label some combinations, but not any ...
user avatar
2 votes
2 answers
542 views

How to visualize the circle-triangle-probability problem

This 3b1b video talks about the following problem: given 3 random points on a circle, what is the probability that the triangle whose vertices are those points contains the center of the circle. To ...
user avatar
2 votes
0 answers
34 views

Filling with White Color

I am trying to fill multiple curves with different colors. For the purpose I have, I need to exclude some regions from shading. After searching, I realized that I can fill those regions with "...
user avatar
  • 99
0 votes
1 answer
69 views

Gridlines overrule PlotRange

edit at the end I encountered an interesting bug (?) when plotting where if a Gridline is outside the boundaries set by PlotRange, then the plot appears distorted and automatically resizes so that ...
user avatar
  • 359
1 vote
1 answer
40 views

Reducing the space between plots in GraphicsGrid?

I am using GraphicsGrid to produce the following figure: ...
user avatar
2 votes
1 answer
56 views

Making font of Labeled function match that of Plot?

I have the following code: Plot1 = Plot[Exp[-0.03*t], {t, 0, 300}, AxesLabel -> {None, "testing1"}]; Labeled[Plot1, "testing"] I am ...
user avatar
1 vote
1 answer
53 views

Making animation with mathematica for sphere [closed]

How to make animation in mathematica for 3D sphere which randomly its radius increase and decreases? Thanks
user avatar
  • 325
4 votes
1 answer
64 views

Making a Plot legend containing both markers and lines?

I am trying to make a legend comprised of both the plot's marker symbol and a line. Specifically, I am hoping to have a legend that looks like the line is crossing through the marker. My current code ...
user avatar
0 votes
1 answer
64 views

Plotting a cylinder using ListPlot3d

I have a table of dimensions {$\theta$,$z$}= {20,200} that I want to plot as a cylinder instead of a plane. The code I have is: ...
user avatar
  • 73
0 votes
1 answer
46 views

How to plot a set-valued mapping graph

I know that if $T$ is a single-valued mapping for example $T(x)=x^{2}$ for all $x\in[0,1]$ then its graph can be plot using Plot[x^2, {x, 0, 1}] Is there any way ...
user avatar
  • 169
0 votes
0 answers
41 views

Preserving Automatic PlotMarker Styles in Plots

I am looking to preserve, or and least find out, the automatic color settings for PlotMarkers in plot-related functions. My problem can be observed by comparing the ...
user avatar
5 votes
1 answer
83 views

Understanding Conflict Between Data Wrappers, Graphics Directives, and Options for Plots

I have two related questions. First, I am trying to find out what ways I can change a single point in a plot using data wrappers that are not overwritten by other plot options (like ...
user avatar
5 votes
2 answers
191 views

How to make a cylindrical lattice

I'm writing a paper on graphene nanoribbons and was wondering what the best way to create a 3d graphic of the type below is. Creating the normal graphene lattice is simple but I'm not sure how i'd go ...
user avatar
4 votes
2 answers
151 views

For "RegionPlot", how to fill lines, points, or grids in different areas?

For "RegionPlot", how to fill lines, points, or grids in different areas? I have tried "Mesh", but it fills all region in same mesh. I want to get the result just like this picture,...
user avatar
  • 41
1 vote
1 answer
70 views

Plotting SD at each point

I have a question to plot out the standard deviation for my graphs: How can I plot out the SD values in each point such that the max and min will start from 0 and not an offset standard deviation (SD) ...
user avatar
  • 302
2 votes
1 answer
34 views

Adding A line in a graph

I have this question about how to add a line in a ListPlot[] graph. I am trying to add a y=4 I have written the following: ...
user avatar
  • 93
1 vote
2 answers
64 views

Place legend inside the plot

I am trying to place my plot legend inside the graph. Currently it sits outside the plot and gets covered up when I place another plot next to it. This is the code I am using. ...
user avatar

1
2 3 4 5
86