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

0
votes
1answer
96 views

Animating a Large Graphic Aborts, but Dynamic Works Fine

I'm trying to animate a large Graphics output, and it is returning $Aborted. I'm confused because when I use Dynamic and Slider, the graphics output is exactly what I want, i.e., I can 'animate' the ...
0
votes
2answers
118 views

Parametric Plots [continuous and discrete]: --showing parameter increase for multiple values of another parameter

In my problem, I am effectively plotting a parametric function that depends also on an outside parameter, e.g., the real/imaginary parts of ...
0
votes
1answer
58 views

EdgeRenderingFunction For 2 Vertices in a Loop

Assume there is a set of rules: set = {"A" -> "B", "B" -> "A", "B" -> "C", "C" -> "D", "D" -> "A", "C" -> "C"}; which we want to graph using ...
0
votes
1answer
62 views

Why does `Table` returns values but `Plot` doesn't plot them?

The Table function works fine and return a nice list of values ...
0
votes
1answer
117 views

ParametricPlot3D/2D won't work and leaves a blank space

I've been trying to evaluate this line ...
0
votes
1answer
109 views

Why does my exported .GIF cut off the bottom of my animation?

I have the following (admittedly artificial) code: ...
0
votes
1answer
74 views

Change the size of a graphic inside a legend [duplicate]

I have this graph: ...
0
votes
1answer
121 views

Showing Two Manipulated Plots Together

I want to show a scatter plot and bar chart next to each other in order to show the change in both factors for each county. The scatter plot shows life expectancy per county on the basis of income, ...
0
votes
1answer
100 views

Graphing the sequence {$p_k$} = $\frac{c - a + dp_{k-1}}{b}$ [duplicate]

Graphing the sequence {$p_k$} = $\frac{c - a + dp_{k-1}}{b}$ I need to know how to graph this function where it automatically plugs in the previous term for $p_{k-1}$, the coefficients are of my ...
0
votes
1answer
126 views

ListPlot, PlotMarker -> y value [duplicate]

at first sorry if this question is already answered. I would like to display y value as plot marker in listplot ...
0
votes
1answer
64 views

Mouse motion makes frame disappear in Overlay of long ListPlots

Using M9, OSX 10.8.4, most parts of the Frame in the following overlay disappear (also partially occluding some FrameTicks) ...
0
votes
2answers
80 views

Combine two functions in mathematica to get one image with two elements

I am trying combine this two functions into one piece in grid. ...
0
votes
2answers
260 views

Extract coordinates from a polygon [duplicate]

I need to extract the coordinates from a 2D polygon then calculate the maximum and minimum of the x and ...
0
votes
1answer
250 views

Plotting a line segment from the degenerate case of an ellipse [duplicate]

An ellipse degenerates into a line segment when the defining constant distance from the two foci is the actual distance between the two foci. The ellipse closes into a line segment. The following ...
0
votes
1answer
160 views

Graphics with shapefiles using tooltip

I'm trying to write a code that displays an entire shapefile color-coded by one variable, and then as the mouse is moving it shows the local regional area of interest with all its data Got a working ...
0
votes
1answer
191 views

Revolving the area between two functions about an axis

I'm trying to graph the revolution of the area between two functions about an axis, but I'm new to Mathematica, and not sure how to proceed. My area is defined by ...
0
votes
1answer
151 views

How to adjust the correct ImageSize between two plots

Let's consider the following simple plot ...
0
votes
1answer
399 views

How can I combine several 2D-plots to one big 3D plot?

So I've been able to make a list given by list = Table[{xValues, f[xValues, t (*fixed*)]}, {xValues, xmin, xmax}] For example: ...
0
votes
1answer
283 views

A problem on generating convex hull

For example, I typed the following: ...
0
votes
1answer
96 views

How do I save the last graphical output of Animate so as to make it the background for the next Animate?

I am making an instructional program in which a random number appears and moves across and down into the appropriate bin, landing on top of the existing stack. Then another number appears, repeating ...
0
votes
2answers
209 views
0
votes
1answer
180 views

TextRecognize with crosses, circles and spaces results into oddities, why?

I am investigating this answer here about detecting crosses and circles with TextRecognize. I tried to solve this problem here by directly using the builtin command TextRecognize but it does not work ...
0
votes
1answer
205 views

ContourPlot of a complicated function

I have the function $pot_1(x,y,z)$ which is given in analytical form. So, in order to plot the contours at the primary planes $(x,y)$, $(x,z)$ and $(y,z)$, I use the following ...
0
votes
0answers
35 views

How do I change a 3d bspline curve to a polygon based graphic? [duplicate]

I have a graphics image generated with bsplines: Graphics3D[Tube[BSplineCurve[pts], 2]] I want to export this to a .stl file. To do so I know I need to modify ...
0
votes
0answers
68 views

Can't get rid of vertical background color

I am trying to use GraphicsGrid, the background option is set to white, as well as for the separate graphs. But there are still grey stripes. What is the reason for these? And how can I get rid of ...
0
votes
0answers
35 views

Generating graphics in a web page with CloudDeploy and FormFunction

When I execute this code locally on my laptop... ...
0
votes
1answer
44 views

Transforming the x-axis of a figure created with customticks package [duplicate]

I have some data which i inter alia define and invert ...
0
votes
0answers
35 views

ListPlot and ListLinePlot coloring bugs [duplicate]

I can't believe these bugs are still around. ListPlot[Transpose@Table[{n, n + 2}, {n, 1, 10}], Joined -> True, Mesh -> Full] ...
0
votes
0answers
35 views

Finding intersection of two infinitely long lines using points [duplicate]

EDITED In the Find intersection of pairs of straight lines problem, it is assumed that line are intersected by default and the purpose is to find the intersection points. In the present problem, two ...
0
votes
0answers
13 views

Graph color to cylindir surface [duplicate]

l = 95 P = 300000 R = 15.8 h = 1.1 K = 2.9*10^10 a = 30.1 b = 1 c = Pi/6 d = 1/15.8 M[X_, [Phi]_] := (-((12*PR^4)/(Kh^3)))Sum[((4/(Pim))Sin[((mPi)/l)*a]Sin[((mPi)/l)b](4/(Pin)) ...
0
votes
0answers
33 views

Color Gradient on points using ErrorListPlot

I am having some difficulties getting a value-dependent color gradient on points with ErrorListPlot. I am starting with a list looking like ...
0
votes
0answers
113 views

MeshFunction at azimuthal angles for RegionPlot3D

Edit: I said "polar angle"... It should be "Azimuthal angle". Sorry. I want to plot a Mesh line at a certain azimuthal angle in RegionPlot3D. My goal is to ...
0
votes
0answers
25 views

Export an Interactive diagram in CDF format

I am trying to create a CDF File I can play at school to present an optimization problem. In order to make it clearer for my students, I imported a few images as JPG, stored them as variables and used ...
0
votes
0answers
25 views

How to change the texture of the graphical objects? [duplicate]

I would like to make a number of 2D figures with Graphics[] command, e.g. Disk[], Rectangle[] etc. It is easy to change the colour and opacity, but I would like to have the internal area shaded with ...
0
votes
0answers
25 views

Find intersection between 2 lines [duplicate]

I have 4 points in 2D, this points form 2 lines, I want to find out if this 2 lines intersect and if they do the x and y coordinates of the intersection. Which are the ideal equations/algorithms for ...
0
votes
0answers
40 views

Error in FullGraphics V10.1 [duplicate]

Error in FullGraphics. FullGraphics[Plot[Sin[x], {x, 0, 2 Pi}]] Any idea why? Thanks
0
votes
0answers
46 views

Distorted plot when I plot Sqrt[4 - x^2 - y^2] and -Sqrt[4 - x^2 - y^2 together [duplicate]

When I plot Sqrt[4 - x^2 - y^2] and -Sqrt[4 - x^2 - y^2] together,the z axis doesn't have ...
0
votes
1answer
43 views

More than one graphic in Graphics command [closed]

another question regarding plotting. I'm sorry, but somehow it is superhard for me to use these. I have a Graphics plot and I want to add a Point to it. A circle is already working. But everything ...
0
votes
0answers
82 views
0
votes
0answers
35 views

How to change a direction of a point after stroke the edge

Could you explain me how to made my point moves like enemies in xonix game, when the point strokes the edge? ...
0
votes
0answers
45 views

RunScheduledTask hide typing data table

I created a task that removes itself when an external variable x,is changed: ...
0
votes
0answers
87 views

Are there examples that arrange graphs or plots with Mathematica?

If we have 4 graphs or output plots, could we arrange them and merge in one graph elegently?
0
votes
0answers
22 views

How to make the vertices move with the VertexRenderingFunction graphics when clicking and dragging vertices of a layered graph [duplicate]

I have read the suggested similar question here: VertexRenderingFunction (or EdgeRenderingFunction) with movable nodes? and Mr. Wizard's solution. Please could someone help me to apply his method to ...
0
votes
2answers
97 views

How can I make a 3D Plot with NDSolve?

I have a system of coupled ODEs which I am solving using Mathematica. I am solving these using NDSolve: ...
0
votes
0answers
50 views

Constantly rotating 3d contour plot (ideally as a .gif) [duplicate]

I came across a neat image for a graph, and I wanted to reproduce this as a .gif using Mathematica (I have the 9th home ...
0
votes
0answers
27 views

Options from Graphics command [duplicate]

What do it mean $[[1]]$ in the following command? Graphics[...][[1]] How about the following command? ...
0
votes
0answers
65 views

How to extract data points from an image of a log log plot? [duplicate]

I have a picture of a log-log plot, taken from a paper and I want to extract the data points so I will be able to plot them again along with results of my own solution. I would appreciate your help. ...
0
votes
0answers
50 views

Changing the style of the Error Bars

I'm trying to get to change the length of the line at the top and the bottom of the error bars, but I have no idea how to do it. Can anyone help? Thanks!
0
votes
0answers
78 views

Dynamically update a graphic object in Mathematica [duplicate]

I was trying to simulate a bouncing ball (with no gravity) in a unit box and I managed to come up with a solution: ...