Tagged Questions

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 ...

learn more… | top users | synonyms

14
votes
4answers
239 views

Unexpected dots from Line

I have noticed cases where Line produces dots in a graphics object when I think it shouldn't. The first of these is: ...
4
votes
1answer
169 views

How to create a plot of the volume between three surfaces

I need help creating a plot that I can manipulate the variables for the volume between three surfaces. I am trying to make it look like this example here: ...
3
votes
2answers
183 views

Using high RasterSize or ImageResolution changes contour pattern

I found that the detailed contour pattern will be altered if we Rasterize the original graphics using high RasterSize or ...
6
votes
2answers
186 views

how recover lost data of coordinates from contourplot of mention data?

I have made Contour Plot for a lot of data, like this ...
9
votes
1answer
211 views

Reducing mesh details while exporting to vector format SVG

I am trying to export a simple cuboid into .SVG format. In the output file, the cuboid is finely meshed, which increases the file size. How to remove this detailed mesh? ...
1
vote
0answers
46 views

Arrowed circular arc [duplicate]

I would like to draw a circular arc with an arrow head, let's say following the syntax for Circle[]: ArcArrow[{x,y},r,{q1,q2}] ...
3
votes
1answer
177 views

Shading area in graphics

I want to shade the area between the formula ...
3
votes
1answer
191 views

Mesh and ParametricPlot [duplicate]

Is this a bug, or something going over my head? When using the following code, nothing "special" happens: ...
5
votes
1answer
182 views

How to make a piece of a pie chart change color upon clicking it?

I am trying to use the EventHandler and have managed to make the text change color upon clicking it, but cannot seem to make each piece of the pie chart change ...
6
votes
1answer
188 views

Cut out circle out of circle

In the documentation of FilledCurve, one can create a circle "cut-out" of a bigger circle using FilledCurve and ...
4
votes
1answer
99 views

When I use the Labeled command my graphics shrink

My first post regarding this matter was not well formulated so hopefully I have done a better job of reformulated my question here. The following code works well as far as it goes. ...
0
votes
2answers
199 views

Modified ListPlot, how to speed it up

I use Mathematica almost every day for several jobs (computations, graphics, etc.). I admit that this software contains much more options (capabilities) than one user may need. Well, not always since ...
0
votes
0answers
41 views

Draw an arbitrary convex polyhedron [duplicate]

I want to draw a set of convex polyhedrons whose vertices are defined by spherical coordinates on the surface of a unit sphere. How can I accomplish this in Mathematica? It seems I cannot do it ...
0
votes
1answer
308 views

Plotting two vectors on the unit circle [closed]

I would like to plot a vector on the unit circle, depending on an angle Pi/k, and the same vector rotated by an angle d. I try ...
1
vote
2answers
196 views
0
votes
1answer
104 views

Plotting the set where $F(x,y)\leq0$ holds [closed]

I was using Wolfram Alpha to explore some set which is defined by an inequality. Somehow I was not able to reproduce the picture with mathematica. What is the best way of plotting a set defined as ...
5
votes
3answers
572 views

Increase 3D Graph thickness for 3D printing in Mathematica?

My code: Plot3D[{(2*x*y)/(x^2 + y^2)}, {x, -2, 2}, {y, -2, 2}] Output: And now I can export this to STL by using the export STL command, however, when I try ...
3
votes
3answers
286 views

How would I plot the volume element in cylindrical coordinates?

I have this graph: But it doesn't have a function so I can't just plugin in a function into wolfram or mathematica to plot it. I have these coordinates to make it however: ...
2
votes
1answer
350 views

How to insert a plot into another overlay plot

I want to insert a plot into another overlay plot. Here is my code: ...
3
votes
1answer
84 views
2
votes
1answer
113 views

How can I plot a picture with this kind of legend?

Can "plotlegend" do that? I cannot find a proper function.
5
votes
2answers
197 views

Interactive grid

I would like to create an interactive grid, whereby one number from a grid is selected by the cursor ("3" in the example below), and all other numbers in the grid are highlighted that are related to ...
2
votes
1answer
181 views

Finding a Moore neighborhood connected path of bright pixels along the contour of a text character

I have a simple image, for example a blowup of a Times New Roman character like 'R' saved as a PNG. I then perform the following operations to extract a minimum representation of the contour lines ...
7
votes
1answer
333 views

Combining graphics

Original question I would like to put a coloured grid behind the following plot: which was generated by: ...
0
votes
1answer
127 views

How to adjust the correct ImageSize between two plots

Let's consider the following simple plot ...
2
votes
4answers
190 views

Rectangles of the Same Size Aren't Shown the Same!

I've written a mathematia code which arranges $n$ unit squares in columns of length $m$ (of course, when $n$ is not divisible to $m$, then the last column is not full). This is the code: ...
4
votes
1answer
308 views

ImageSize as absolute (metric) value

I have wondered more and more often lately how the size of an image is handled when displayed or exported. The documentation implies that the via ImageSize the ...
3
votes
1answer
195 views

Making multiple sideways histograms/bell curves around temporal data

I don't quite remember what this type of plot is called, but here is the idea: I have some data which is indexed by time, and I want to look at the evolution of the distribution of that data as time ...
25
votes
7answers
2k views

How to draw a spring?

I am new to Mathematica and have recently been exploring graphical animations. So I was experimenting with simple concepts in periodic motion and hence wondered how can I draw a simple spring? Is ...
1
vote
1answer
127 views

Exporting a Table of Graphics into Individual Files [duplicate]

The command Table[Polt[Sin[k x],{x,1,10}],{k,1,30}] generates a list of graphics. I want to export each list item as an individual jpg file, named according to ...
7
votes
3answers
416 views

How to visualize the interior of a complicated 3d plot

I have an external data file (can be downloaded here: link 1 or link 2) which contains a dense grid of initial condition in the (x,y,z) space. I read it with Mathematica and plot these initial ...
0
votes
0answers
119 views

Positioning Labeled points in ListPlot gives unexpected results and errors

Original question can be seen in the edit history.... UPDATE: a simpler example - same "problem" ...
1
vote
1answer
451 views

How to rotate the z label in 3D plots

Let's take the following simple and funny case ...
0
votes
1answer
79 views

Does Mathematica allow you to change the shape of your graph? [closed]

Does Mathematica allow you to change the shape of your graph? Say I use a sin or cos function or some sort of function, do they allow you to change the amplitude or phase shift on the graph? would you ...
0
votes
1answer
1k views

Enlarge the axes text

Plot[Sin[x^2], {x, 0, 3}, AxesLabel -> {"x value", Sin[x^2]}] In the above code give a graph. In the graph the axes fonts are too small. My problem is that, ...
11
votes
2answers
289 views

Change base font for all graphics objects

How can I change the base font style for all graphics objects, including the ones generated using plotting functions? I would like to change this a single time and have it affect all graphics ...
8
votes
6answers
628 views

How to draw symmetrical parts of a circle

Let's consider the following simple case: ...
2
votes
1answer
141 views

How to color the surface of the Box of 3D graphics

Is there any possibility to color the surface of the Box of a Graphic3D[]? ...
11
votes
2answers
327 views

Redirect of mathematica graphics output to another computer screen

I need send the result of my calculation to the screen connected to HDMI output as a full-screen image. As I understand, I need change the DisplayFunction to usage of certain OutputStream. Do anybody ...
6
votes
1answer
247 views

transparency in image used for texture?

Is there a way to set a transparancy channel in a raster image used for a texture in 3d graphics? this creates a raster image with a transparency channel: ...
1
vote
1answer
93 views

ListPlot with redundant labels for tick marks

Is it possible to have two sets of labels for the $x$-axis tick marks using ListPlot? For example, could we have tick marks labels: {1,2,3,4,...}, and then right ...
1
vote
1answer
356 views

Cubic Splines Functions

I have this set of three data points and want the natural cubic spline functions for them: dat = {{-.0247500, .5}, {.3349375, -.25}, {1.101000, 0}}; I tried: ...
0
votes
1answer
89 views

Combining an imported PDB file with a set of Graphics3D objects

Imagine we import a PDB file like so (using the example from ref/format/PDB in the help directory): ...
5
votes
1answer
303 views

How to draw this kind of plot?

Apologies if the question is too basic; I've searched the manual and the web but couldn't find a solution. I would like to present some data on a discrete plot. The data is divided into $K$ series or ...
7
votes
2answers
558 views

How to draw line connecting points on circle

Consider the list {1,2,3,4,3,4,2,1}. I want to label these points on circle the way they appear on list(clockwise, counter clock wise doesn't matter). After that I want to connect same points by ...
3
votes
2answers
77 views

Cell copy results in jaggy, aliased output

When I copy a cells by selecting them from the collapse bars on the right, then using the context menu option "Copy", the pasted image of plots is not anti-aliased and in general the text seems to ...
1
vote
1answer
153 views

Create Slider to start/stop/move Point

I want to be able to start, stop, and move the dynamically moving point simultaneously in both animations. The "PlayPauseButton" in the animations only controls the given animation. Indeed, I want ...
2
votes
1answer
194 views

GraphPlot labels overlapping

If I plot the following graph with an EdgeRenderingFunction, the position of both the labels are at dead center, and with a large graph I have the labels completely ...
8
votes
1answer
319 views

How can I scale a plot in vector graphic or PDF form?

I am not at all a computer graphics expert, but it seems that portable document format (PDF) files have a "native size," even though they may (and usually do!) contain vector graphics that can be ...
1
vote
1answer
945 views

Animate curve parametric plot on a surface

I have a surface s = Plot3D[{x,y,F[x,y]},{x,-1,1},{y,-1,1}] with $F$ predefined, and a curve ...