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

8
votes
1answer
281 views

How to add a fading trail effect in Animate?

I would like to add a smooth fading effect to the end of a curve, while it is animated. Here's a minimal working example which shows a particle moving on a circle (the circle is drawn while the ...
1
vote
1answer
121 views

How do I plot this (x^3 - 2*x)^Ln[x]? [closed]

y=(x^3 - 2*x)^Ln[x] I'm totally clueless. I tried with y=e^(Ln[x] Ln[-2 x + x^3]) by Ln-ing on both sides but there is ...
1
vote
0answers
82 views

Manipulate a random walk [closed]

For a college project I am manipulating a random walk. I managed to make a walk but in the manipulation every time a step is added the manipulation shows an entirely different walk. I understand why ...
2
votes
1answer
69 views

How to check a clockwise direction for a list of point [closed]

Suppose that we have a list of points and we need to order them in clockwise direction by starting from a special point. I implemented this code to order them but I need to detect if it is ordered in ...
0
votes
0answers
72 views

Make smooth plot from data

After some awesome tips from @qwerty I still have some doubts As I said, I´d Like to make a smooth function with some other colors, I plot the graph, there is a lot of data. The situation is this: I ...
1
vote
3answers
190 views

How to combine Tabview with Dynamic Graphic to change the colour of a polygon

How does one get TabView to specify the colour of the Polygon? How does one put a label on ...
3
votes
1answer
146 views

Hasse Diagrams from Adjacency Matrix

Let's say I have a rather large adjacency matrix for a partial order relation. Say an 80x80 matrix. What is the best way to display Hasse diagram? I have tried AdjacencyGraph and it does a not so bad ...
0
votes
1answer
138 views

How to make smooth function from data [closed]

After some awesome tips from @qwerty I still have some doubts As I said, I´d Like to make a smooth function with some other colors, I plot the graph, there is a lot of data. The situation is this: I ...
4
votes
1answer
83 views

Graphics3D opacity of lines

I would like to make the lines opaque for a plot of form similar to: ...
0
votes
1answer
105 views

Animation, gif, ppt [duplicate]

How can I save these animations as gif? I need reeeally quick answer if possible: :D
1
vote
1answer
78 views

change color of the face in a 2D ConvexHullMesh [duplicate]

If I say tri = ConvexHullMesh[{{0, 1}, {1, 1}, {1, 0}}] a triangle is rendered in blue. How can I change that color? An answer to an earlier question suggested ...
5
votes
4answers
116 views

PlotRange truncates data in the y direction but not in the x. Why?

Here's a very bizarre inconsistency I've just struggled with and I'm wondering why it exists or if I'm missing something. I have some noisy data and I wish to make a framed plot of the data but allow ...
1
vote
1answer
52 views

Temporary/popup Output Progress Boxes

In recent versions of Mathematica, a number of functions have the feature that, while they are thinking (or, for example, loading data from Mathematica servers), they pop-up a little light-blue box ...
0
votes
0answers
108 views

Plot of 4-dimensional vector field

I want to study a certain type of 4-dimensional ordinary differential equation. How could I visualize it? One thing that could be helpful is to plot the vector field in one pair of variables, for a ...
3
votes
1answer
95 views

clip a plot to sub-parts then merge

I have a start photo (StartShot) with 0-400, 0-400 coordinates: And this path: ...
0
votes
1answer
83 views

How do I shade in the region between two plots? [duplicate]

I would like to plot two functions and shade in the area between them to illustrate an integration example. I have this into mathematica: ...
4
votes
1answer
128 views

“Interface” for exam

Is it possible to create a (graphical) interface with Mathematica so that instead of having a Mathematica document where I change definitions and so on, I can just input values and it will use my code ...
4
votes
1answer
201 views

geodesics' on torus

Is it possible to draw geodesics between the points in a path on a torus - toroidal surface? geodesics: generalization of the notion of a "straight line" to "curved spaces" ...
26
votes
4answers
735 views

Faces and NetFaces relation in polyhedron

I'm trying to generate some plots of polyhedra with coloured faces. To determine the colours, I require the adjacency information of the faces. For the 3D plot this works really well. Say I want to ...
2
votes
2answers
58 views

In the Wolfram Cloud RotateLabel in ParmetricPlot does not rotate Y-Axis label [closed]

Note this applies to version 10.3 running in the Cloud. ...
3
votes
3answers
200 views

Color coded bar to represent numberic values

I would like to present data color coded in a bar. My data look like the following: {-2.5,-1.0,0.1,0.5,-0.24,-0.58,-0.58,-0.25,-1.4,2.1,1.8,-2.5,1.97} I would ...
2
votes
2answers
188 views

Converting a 3D Plot to a Region Plot [duplicate]

I have a 3D Plot with 3 separate functions for z in terms of x and y. I would like to ...
2
votes
1answer
326 views

Map points on a square onto a Torus

I would like to create a 3D torus plot from a 2D graphic. This 2D original plot is a bit complex, and I haven't a clue how could transform it to a torus. The below code, from this article posted on ...
6
votes
2answers
104 views

Inset in ArrayPlot

It seems the options in the Inset object will be ignored when passing to ArrayPlot: ...
6
votes
1answer
134 views

How to export interactive animations into D3.js? [duplicate]

Are there any existing examples or 3rd party repositories that attempt to make this possible at any level?
7
votes
2answers
142 views

Panning with Mouse + Moving A Curve

I would like to be able to move any curve (for example f(x)=x, or g(x)=x^2) by mouse dragging the particular curve. I would like to keep the functionality I have for panning across the screen in ...
12
votes
1answer
202 views

How to see a code preview (in Experimental`Explore[] or related GUI)

I have been messing around with built in Experimental`Explore[] function. You can call the function in Mathematica yourself to see what it looks like. It is a GUI ...
3
votes
1answer
77 views

Rasterize alters the quality of the figure

A quick 3D plot ...
10
votes
4answers
363 views

Panning with Mouse

This is related to the question i just asked here but not the same. How could i create a manipulate that lets me move the graph to any position i want by clicking and dragging anywhere. Here is an ...
7
votes
3answers
235 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
7
votes
3answers
302 views

Draw grids on the xy-, xz, and yz-planes

I would like to draw grids on the coordinate planes. I see that Mathematica has a built in function called facegrid but it seems to want a primitive as input. Even if I give it a blank input it used ...
3
votes
2answers
209 views

Filling a rectangle with an image

Say I have some rectangles of different sizes drawn on the screen. How can I fill them all with the same image? Ideally, the image would be resized to completely fill each rectangle. I've been trying ...
0
votes
0answers
106 views

Using a standalone CDF to replace a typical graphing calculator

I can use Manipulate[] to create a grapher that emulates some of the functionality of a typical graphing calculator.By using ...
3
votes
2answers
130 views

Changing location and direction of axes

I need to produce a plot that looks something like this: from a function definition where z (the vertical axis) is the independent variable. I can easily invert ...
5
votes
1answer
257 views

How to plot graphics objects such as lines or polygons logarithmically

I am making ListLogLog plots with polygons in the Prolog and lines in the Epilog, and I want ...
1
vote
0answers
56 views

How to align/grid several plots(mXn) in one figure? [duplicate]

I run Mathematica 10.0.2 on my Win7. I'm trying to make a PDF for publication similar to figure below: This is a figure containing a 4X3 image. The feature in image is irrelevant, my point is to ...
4
votes
3answers
173 views

Creating curves that satisfy $f(x)\le g(x)\le h(x)$

All, I haven't experienced this task in Mathematica yet, maybe using Bezier curves, Interpolation, or some such thing to create the following image. Can someone give me an introduction to ...
2
votes
1answer
66 views

something like gap axis [closed]

If we have two financial graphics like EPAM and IBM. How we can do this? Sorry, for my English.I think, you understand me
3
votes
1answer
119 views

Adding text on an .xyz file of an atom

I know it is possible to view .xyz files of coordinates in Mathematica. I tried to write some text on a specific atom using Text, but I was not successful. How can i do that? Thanks for the help in ...
13
votes
2answers
187 views

How to prevent Dynamic activity with colour swatches in V10+

Since version 10, if I type e.g. an RGBColor or simply a named color, a dynamic colour swatch is returned. Same goes for when you e.g. extract colours from a ...
0
votes
0answers
77 views

Problem with BSplineCurve 3D

I have a problem using the function BSplineCurve [ ] . I have to represent a line passing through about 3000 points in 3D. I managed to plot the points separately, but when I use the 3D BSplineCurve ...
0
votes
1answer
38 views

Exporting multiple sizes of the same image

I have generated an image using (for example) out = Plot[x^2, {x, -2, 0}, PlotLegends -> {x^2}] and would like to export two versions of that image, one that ...
4
votes
1answer
137 views

Looking for an extensive gallery of Mathematica's 2D graphics

I am having a hard time conveying to my co-workers why I think that what they consider "advanced", "high-quality" scientific graphics1 does not hold a candle to what one could do already do with ...
3
votes
1answer
175 views

Move Graphics Object

I'm an artist trying out digital media. I'm very new to Mathematica, however, so excuse me if this a basic question (which I'm sure it is). I did look, though, for anything on this site related to my ...
5
votes
2answers
190 views

Arrow head halfway along parametric plot

I have a problem with putting arrowheads on my parametric plot, I have looked through the various examples on here, which all work fine, but when I replace it with the code for my parametric plot, I ...
5
votes
1answer
116 views

PlotStyle according to PlotRange

I have the function Hypocycloid[{R_, r_}, θ_] := {(R - r) Cos[θ] + r Cos[θ (R - r)/r], (R - r) Sin[θ] - r Sin[θ (R - r)/r]} For, e.g., R=5 and ...
1
vote
2answers
78 views

Updating ParametricPlot3D code from Getz and Helmstedt book to use V10.3 features

I purchased a version of Graphics with Mathematica, Fractals, Julia Sets, Patterns and Natural Forms, by Chonta Getz and Janet Helmstedt, written in 2004. Really fun book. I'm looking at the ...
5
votes
3answers
251 views

What is causing these artifacts in RegionPlot3D?

I have a simple program like this: ...
0
votes
1answer
43 views

ListPolarPlot does not allow PolarAxes->True or PolarGridLines->True? [closed]

I am running the personal version of Mathematica 9 on a MacBook Air with OS 10.10.5. When I try to activate PolarAxes->True and/or ...
3
votes
1answer
135 views

Creating a custom color plot with tones of colors

Here is a sample set of data ...