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

4
votes
3answers
349 views

How to color the edges of a triangle?

I'd like to draw a triangle (given the side lengths) with the sides colored separately. I tried ...
7
votes
3answers
529 views

Graphics of Ebbinghaus illusion [closed]

I define two graphics for Ebbinghaus illusion ...
0
votes
1answer
65 views

Manipulating of non linear differentials equation

I want to manipulate non linear differential equations $\dot{x}= x + g\, xy\quad \dot{y}= 1-2x^2-g\, y^2$ where g as parameter.but I don't get any curve on display. Plz help me
4
votes
1answer
121 views

Getting Area of a region transformed by GeometricTransformation

I tried this: Clear[b1, b2, A, p] b1 = {-1, 1}; b2 = {1, 1}; A = {{2, 1}, {-1, 1}}; p = Parallelogram[{0, 0}, {b1, b2}]; Then drew this: ...
6
votes
2answers
185 views

Samuel inverse graphing calculator

Samuel Inverse Graphing Calculator (http://www.xamuel.com/inverse-graphing-calculator.php) is a amazing tool. Whichever be your language, you can transform a sentence in an equation. I hav try with Yo....
10
votes
3answers
757 views

How to create this spikey in Mathematica?

I came across this post while messying around the StackExchange mobile. I think this thing can be easily done by Mathematica as well but I'm not an expert in geometric field. Can anyone give some ...
0
votes
2answers
159 views

How to do this 3D grid drawing? [closed]

The idea is to make axes 3d, with a more subdued in black mesh, and shafts with their respective numbers with a maximum of 10 in each (black to print after the size of half a sheet craft, vine also ...
3
votes
1answer
86 views

Automatic cascading placement of graphics

Is it possible to automatically cascade graphics or images in MMA? It seems to me that most of the built-in graphic functions have a gridded style, e.g., ...
-2
votes
2answers
131 views

Create a filled ListPlot, where the points in the list come from within the regions rather than from the region boundaries

Is it possible to fill, color, under the points in ListPlot where the points define the area and the boundary? Assuming that the number of points are large enough ...
8
votes
2answers
105 views

Control of individual Framed edges?

Is there an option or method for Framed analogous to Frame in Graphics to control display of ...
1
vote
1answer
47 views

Domain in Graphics [closed]

I made this animation: ...
1
vote
0answers
46 views

Magnify Part of a 3D Graphic [duplicate]

I have a 3D Graphic built, and I want to magnify part of it. I would prefer a circle or ring-shape that can be placed anywhere in front of a 3D graphic that would magnify it. Ultimately, I want to ...
5
votes
1answer
161 views

Background colour of text in graphics [duplicate]

I see this strange behaviour when both the containing cells and the graphics have a non-white background. I set the style of a notebook to "Standard Report" (Format -> Stylesheet) and did this: <...
1
vote
1answer
47 views

How to make an empty plane, and add points on the way

Apologies for the noob question, I'm not very experienced with Mathematica, but I need it for a presentation. What I would like is to make the x-y plane with both coordinates running from say, -5 to ...
0
votes
0answers
22 views

Export DateListPlot graphic as PDF misses elements

When I try to Export a DateListPlot as a PDF file: ...
-1
votes
2answers
164 views

Selecting points inside a closed curve

Let's create a rather dense grid of initial conditions ...
1
vote
1answer
76 views

How can I reflect a graphic across a line? [closed]

I would like to make an animation that shows where a graphic (square, circle etc) would be after it is reflected over a line. Thanks
0
votes
1answer
78 views

How can I make a graph that compares two sequences

I have two data sets. I produce the first one from the following code: ...
2
votes
2answers
127 views

How to plot an Eddington-Finkelstein diagram

I need to plot the same thing as what is shown on the third picture of the site below (sorry, I'm unable to poste that picture here) : http://ion.uwinnipeg.ca/~vincent/4500.6-001/Cosmology/...
0
votes
1answer
82 views

Mapping a simple 2 variable function

Quick Question: What is the best way to map this function so it performs seperately for 102 different values of x? ...
3
votes
2answers
102 views

Hovering over specific coordinates on a picture

I'm working on a small function which can be used so that when the user hovers over certain coordinates in a LocatorPane, these coordinates can be checked against a separate list of coordinates, and ...
1
vote
0answers
58 views

Real, scaled sizes of bubbles in bubblechart [closed]

I'm trying to create a BubbleChart3D with sets of 4 numbers, to see which spheres overlap. ...
-1
votes
2answers
63 views

How can I get the coordinates of a graphics primitive from a Graphics expression?

For example I have square = Graphics[Polygon[{{0, 0} ,{0, 1}, {1, 1}, {1, 0}}]] What functions can I apply to sqaure to ...
7
votes
1answer
144 views

Plot3D producing wrong axis labels

This is some rather perplexing behaviour. If I try to specify labels for the axes of a 3D plot, sometimes they will go completely belly up: ...
2
votes
1answer
148 views

Complete and utter nonsense with Overlay and Graphics

I'm trying to simply overlay some text and a scalebar onto an image. I'm getting (what I perceive to be) completely ridiculous results while trying to do this. Here's the code: ...
1
vote
1answer
30 views

Correct range for X-axis in ListLogPlot

There must be a quick solution to this problem: How do you get the correct range for the X-axis. Attached below is the code: ...
1
vote
0answers
60 views

Using RegionPlot to create letters

I unified several regions in order to create a simple word : ...
-4
votes
1answer
103 views

Small sphere circling at intersection of sphere and sinusoid [closed]

I have an equation for a sphere which is x^2 +y^2 + (z - 1)^2 == 1 and for a sinusoid which is y == Sin[x] with ...
-3
votes
1answer
90 views

Uniformly varied circular motion

How do I get a plot with the results of the angles, speeds and accelerations theta3 e theta4 for each input angle value theta2? Where: R1 = 450, R2 = 125, R3 = 348 and R4 = 215. Initial speed = 25 rad/...
0
votes
1answer
52 views

Graphics with grid lines [closed]

With the following example code Graphics[ { Line[{{0, 0}, {6, 6}}] }, ImageSize -> {500, 500}, Frame -> True ] I get: How can I produce grid ...
1
vote
0answers
27 views

Remove surface from graphic [duplicate]

How to remove surface from the following graphic? I need only Mesh, (black lines). ...
2
votes
2answers
106 views

Change or force plot legend marker symbols

I am wondering if there is a way to force the plot legend symbol for each respective plot. I am currently using a package created by AlexeyPopkov, which corrects the off-centre plot marker issue very ...
1
vote
2answers
192 views

How can I re-create the original Graph object from Graphics object into which that Graph was converted previously?

We can convert a Graph into Graphics very easily like it is shown in this answer. My question is: how to convert a ...
0
votes
1answer
53 views

“Graphics is not a Graphics primitive or directive.” when returning an `Import`ed image for `VertexShapeFunction`

I am trying to use Graph (not GraphPlot) and replace some of the vertices with an image, like so: ...
0
votes
0answers
38 views

Plot markers appear off-centre [duplicate]

Before I start I should mention that this question has been posted in another form here, Point Renderings Slightly Off in Mathematica. However my case is slightly different in that I do not use ...
5
votes
1answer
63 views

Gray boxes around labels in exported image (PDF, JPEG,…)

From time to time, when I export plots with Mathematica, the labels have gray boxes as a rectangular background. I am using Mathematica 10.0.1 for Linux (gentoo) 64bit. Consider this thing I again ...
2
votes
0answers
49 views

How to export the high resolution animation movie? [closed]

I would like to export high resolution animation Here is the code: ...
2
votes
0answers
44 views

What are the differences among Graphics, Raster, Image, List(ImageData) in Mathematica in terms of Head? [closed]

I do not know the exact conceptions of Graphics,Raster,Image,List(ImageData). I have only dealt with and used them in ...
2
votes
1answer
64 views

How to overlay ListPlot on a ContourPlot with correct range? [closed]

I am trying to superimpose a scatter (Listplot) on a contour plot. If p1 is a contour plot and p2 is a scatter plot imported from some data, how do I plot them on top of each other? I tried Show and ...
0
votes
0answers
47 views

Export animation from mathematica [duplicate]

I am trying to export an animation, but got an error.. The code is very simple, the combine function is a little complex: Export["combin.gif", combine] Here is ...
0
votes
1answer
79 views

Lagrangian for Spring-Pendulum [closed]

I solved a Spring-Pendulum System with NDSolve. I tried to plot a graph with the interpolated data but always returns a message "An improperly formatted directive with head Symbol was encountered." <...
1
vote
0answers
60 views

Lyapunov Exponent of the Rössler System

I would like to plot a semi-log plot of the Lyapunov exponent $λ_{x_0}, x_0=(1,1,1) \in \mathbb{R}^3$ versus time $t$, for the Rössler system described by: \begin{equation} \begin{array}{lcl}\dot{x}&...
0
votes
1answer
78 views

How to merge two plots in Mathematica 8.0 in a column and then save the figure as a single pdf file?

I have defined two plots and then want to merge them into one so that I can save the figure as a pdf file into my computer. Here is MWE where I would like to merge two plots into one: ...
3
votes
1answer
47 views

check content of a Matrix

I have a matrix which contain rotated ellipses and points, how can I check if the element in the position {i,j} is either a point or an ellipse? the code is a bit longer but the structure is like: ...
19
votes
2answers
929 views

Determine whether points lie within a cow

I would like to determine whether randomly-generated points ...
1
vote
1answer
52 views

Fastest way for data input into StreamPlot function

I'm interested in looking at graphing the phase portraits of 2x2 autonomous ODEs, and I'm using the StreamPlot function. Here is one simple example: ...
0
votes
1answer
32 views

Graphics, Import and Inset combined

I need to write a word on a figure, which I have saved as fig.pdf. 1) I import the pdf file to mathematica: a = Import["fig.pdf"][[1]]; 2) Following the ...
-5
votes
1answer
43 views

Calculating the top left corner in a 2d field [closed]

Given I have a field with several rectangles like shown in the picture. A point with its x and y coordinates are given. The height(h) and the width(w) are also given. How can I calculate the top left ...
1
vote
1answer
67 views

Antialiasing points on a line?

I'm probably being stupid here, but I can't get my points to go in a smooth line: At this scale they should all equally cover the red line. I must be doing something wrong, anyhow I tried to use <...
3
votes
2answers
172 views

GridLines for a coordinate system with a particular basis

Suppose that I use the vectors $(2,1)$ and $(-1,1)$ as a basis for $R^2$. ...