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
2
votes
2answers
53 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
87 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
18 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
29 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
25 views

Alternate Frame Ticks, Only Label Specific Ones

I have the following function that I would like to plot: ...
3
votes
1answer
52 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
29 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
56 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
40 views

Uniform Color distribution with the command Show[]

I have the following definitions: ...
0
votes
0answers
23 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
61 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
40 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
95 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
898 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
25 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
39 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
30 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
57 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
89 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
vote
2answers
66 views

For legacy code, is there a better patch for RasterArray than Raster?

Notice the time calculation around the graphics in the code below. That is taking 6 seconds which seems like a problem. ...
6
votes
1answer
109 views

Polygon Graphics without edge feathering

If you look closely at the colors used with a simple polygon graphic in Mathematica, they feather the colors at the edge to make for a nicer graphic, but I don't want that for my project. I want to ...
2
votes
1answer
27 views

(Mathematica newbie) How to avoid this error ? Animate with predefined and nested functions [closed]

So im trying to do the Atwood machine for project and I try to do it as simple as possible. I defined a graphical functions for elements and also a function of move equation. ...
0
votes
0answers
28 views

Problem with special characters when exporting to pdf

I'm working on Ubuntu 16.06.7 LTS X Mathematica 12.1.1. Very recently, special characters do not display correctly anymore once exported to pdf. Here comes a basic working example: ...
2
votes
1answer
66 views

Obtaining contours of the image

I would like to obtain contours(outline) of the image (black and white thin curve version of the original image). Outline that would just look nice. First attempt I first try using ...
1
vote
0answers
46 views

Is there a work-around for SetOptions having no ImageSize option?

I'd like to set the output cell size to a specified height and width or to full screen as F12 does. ...
0
votes
1answer
25 views

Why doesn't Alignment->Center work in SetOptions?

This follows on my previous question that was kindly solved by a fellow member. ...
0
votes
0answers
33 views

How do you center a graphic in a cell on a full screen black background by code rather than menu items?

I have a 1080 x 1080 dynamic MatrixPlot which centers nicely on a black background, full screen height and width, by the use of menu items. I would prefer to set up that cell by code w/o the use of ...
2
votes
0answers
32 views

Strange behavior when placing a Legend on a GraphicsRow, Column or Grid

Consider the following example: ...
4
votes
0answers
56 views

Cannot access ColorFunction in ListVectorDensityPlot

Working on a vector field, I'd like to use a ColorFunction dependent on both the vector direction and its norm. According to the documentation of ...
0
votes
0answers
10 views

How do you set Cell Properties so that sequential images overwrite each other in a single output cell?

This produces 10 output cells, but I would like it to be in just one cell so I can do a video screen capture. I'm working with 30,000 800x800 RGB images, and it completely overruns Animate and ...
8
votes
2answers
293 views

ListVectorDensityPlot plots outside the data in a very wrong way

I am plotting a vector field data set mydata where the background color indicates the vector orientation and its opacity for the vector magnitude. I use ...
2
votes
0answers
26 views

When displayed in a 1000 x 1000 window, why would a 1000 x 1000 image look more pixelated than a 500 x 500 image?

Yes, you read that correctly. I am especially concerned about the white pixels bordering the black curves. As you see, I have increased the line width 2-fold in the higher resolution image. This ...
0
votes
0answers
16 views

Trans in SciDraw is raising error upon usage of IntermediatePoints

I am trying to make a Level scheme with SciDraw, that is rather crowded. Therefore I would like to use the "Intermediate Points" feature to make the graphics more clear. My test sample is ...
3
votes
3answers
92 views

Can you dynamically display the value of the slider in Animate?

It would be nice to be able to see the value of t changing as the animation progresses even if it is updating so fast that you have to stop the slider to read the number. ...
1
vote
3answers
55 views

Changing Labels in Matrix Plot, DataRange flips Y labels?

I have a matrix, with "natural" indexes of 0-8. I'm using MatrixPlot to display my matrix. However, I'd like to fix the tick labels, to run from 0-8 instead of Mathematica's default of 1-9. ...
2
votes
2answers
84 views

How can I place multiple inset text boxes within the viewport produced with Show

I'd like to ultimately have 3 inset boxes for information of 3 different lines on my graph. In order to minimalise the example I've just attempted 2 here, but the result is the same, that only the ...
12
votes
1answer
590 views

Art on Mathematica: How can I export 4K resolution png images?

This question is solely based upon $[1]$ and therefore, the reading of $[1]$ could be interesting. How can I export the image created, by the code in the following, with high definition, beautiful, 4K ...
2
votes
1answer
70 views

How can I create a graphic array of wedges of cylinders (slice of pie)?

I'm trying to create an array of wedges of cylinders. So far I have been able to create an array of a full cylinder as shown in the next figure: Using the next code: ...
0
votes
1answer
35 views

Graph Plotting Error - NonLinearModel and 'neither a list of replacement rules nor a valid dispatch table' [closed]

I am trying to produce a nice looking graph from Mathematica. (if any background on that is required, I am happy to share, but I'll keep it short for now unless anyone is interested) Question: ...
1
vote
1answer
52 views

3d graph rotation

I want to rotate the VectorPlote3D of the following VectorPlot3D[{-y, x, z}, {x, -4, 4}, {y, -4, 4}, {z, -4, 4}, VectorScale -> {Small, 0.6, Automatic}] and ...
2
votes
1answer
30 views

Gaps in a continuous parametric plot problem

I attempted to plot a parametric plot using the following code: ...
9
votes
2answers
271 views

BoxWhiskerChart - how to show Quartile and other values

I have a question in respect of the BoxWhiskerChart. The default functionality of BoxWhiskerChart is that you mouse over it and ...
2
votes
4answers
374 views

Image to a graph problem

I'm trying to use MorphologicalGrpah to produce a graph, but I tried with a different graph. It does not print the exact graph. Is there a way to fix it? Is there a program where I can draw a graph by ...

1
2 3 4 5
79