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
8 views

How to make legends in Graphics?

To make an equilateral hexagon, here is my code in mathematica: ...
0
votes
0answers
37 views

How to enlarge the plot without the legend (or label)? [duplicate]

I have 3 plot with legend on top. However when I array them in one row, plot is small. Then I tried to enlarge the output graphics, every graphic cannot enlarge except the gap. How to solve this? This ...
1
vote
1answer
45 views

Integrated Solution Graphics

I want to draw this nonlinear differantial equation' graphic with other solving equation (in same graphic). ...
1
vote
0answers
47 views

Better layout for large a directed graph?

This shows a directed graph for an iterated n-bit pseudo-random function parameterized by s. ...
1
vote
0answers
57 views

Combining Mandlebrot and Monte Carlo

I'm trying to combine plotting a Mandlebrot set with using Monte Carlo randomization to plot an equation using random points for complex number z, for the function z^3-2z+2=0 Below is the code I have ...
1
vote
3answers
90 views

Delete the white areas in GraphicsGrid

Let's see a simple example ...
0
votes
0answers
45 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?
-3
votes
0answers
18 views

translation and transformation [on hold]

Triangle PQR has vertices P(O, 0), Q(5, -2), and R( -3,6). Find the 'vertices of P'Q'R' after each translation. (Example 2) 6 units right and 5 units up _ 8 units left and 1 unit down Persevere ...
2
votes
1answer
59 views

Export collection of plots to A4 pdf

Sometimes I want to Export a collection of plots or other Graphics to a pdf in A4 format. Right now I'm using a GraphicsGrid inside a panel which is an inset in a Graphics object. Here is an example: ...
0
votes
0answers
35 views

Filling the area made of 4 lines [on hold]

I have a question to ask. How one can fill the area of joined 4 lines as showed on the figure attached? where I used Graphics to produce. Any suggestions will be highly appreciated, and thanks in ...
0
votes
2answers
111 views

Spiral roots, how?

I found this picture on the net, as I can play in mathematica
-1
votes
1answer
70 views

Visualize Space Pascal's triangle

Visualize Space Pascal's triangle I found this image on the web, I want to know how to draw with software. I try to search, found this. I have learned a mapping in the plane
2
votes
2answers
48 views

Problem with the BarChart3D function

I have a list of values {x,y,z} and I would like to create a 3D bar chart with axis x,y,z . ...
1
vote
1answer
61 views

The relative motion of the points about the common center of mass

There are 2 points with masses m1 and m2, their common center of mass   rC,r1 and r2 their radius vectors, r=Abs[r1-r2]. I built a trajectory of both material points, as well as their common center of ...
-2
votes
0answers
60 views

Write a circle using module [closed]

I wish to create a circle[c,p] which is given by both points a={x,y} and b={x1,y1}. I want it to return a plot of a circle centered at the point a and passing through the point b.
1
vote
1answer
55 views

Draw two curves and a surface

I'm trying to draw two curves and a surface, where one of the curves is to appear on the surface. Unfortunately the curves are drawn with very few points and appear extremely unclear. Is there a way ...
0
votes
1answer
51 views

Polar color coding for complex function plots?

Having browsed this Q on plotting complex functions and the Zeta page, I don't see anything as nice as this plot from Matilde Marcolli's slides "Geometry and physics of numbers". Looks like ...
3
votes
1answer
85 views
6
votes
1answer
141 views

Interpolation on a regular square grid spanning a triangular domain

Context I am trying to identify contours of a function which is sampled on a cartesian grid within an irregular (triangular) region. Here is the data ...
0
votes
0answers
21 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 ...
2
votes
1answer
46 views

Aligning Overlay and GraphicsGrid plots

I need to make several plots displaying a Listplot overlaid with a Histogram and close to it (ideally even sharing X axis) a Plot. After reading answers to similar questions, I've got his far: ...
3
votes
2answers
79 views

How to draw a family of planes and its envelope?

Motivated by a question in MSE, I have the following question: How can I visualize the envelope of the family of planes $$ 2ax+2by-z+a^2+b^2=0, a,b\in\Bbb{R} $$ which is given by the ...
1
vote
0answers
42 views
1
vote
3answers
137 views

How can I make a summary of all the commands of Mathematica?

I would like to have a simple way to get summary information about all the many commands built into Mathematica. How could I do this? Is there a site I may refer to?
1
vote
1answer
53 views

how can I change the length/size ticks in a framed plot?

Err...Let me make clear the meaning of "the length of coordinate notation/marker". suppose I have frame1 by ...
0
votes
2answers
67 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 ...
3
votes
2answers
141 views

How to put triangle graphics on a plot of two seperate related lists?

For 7 different discharge energies, I have two gases (1. pure helium, 2. a helium oxygen mixture) being heated up. Those 14 settings then enter a tube, in which the system cools off. In the list ...
2
votes
2answers
66 views

GeoGraphics examples not running correctly

I'm trying to work with the new GeoGraphics functionality in Mathematica 10, starting with the example given here. None of the code seems to run well for me, though. I try to run the first command: ...
0
votes
1answer
46 views

Drawing a pair of lines to the x-axis and y-axis from a point along a curve

I have some plot like the following: Plot[Cos[x], {x, -10, 10}, AxesLabel -> {Style["x-axis", 12], Style["y-axis", 12]}, ImageSize -> {650, 650}] I'd like ...
0
votes
1answer
45 views

How can I modify text in a Graphics produced by Plot?

I have a Plot in a cell of a Mathematica notebook. The Plot was made with data that I no longer have. I want to modify the label of one of the axes, without running the plot command again (since I ...
6
votes
4answers
458 views

Combining 2D slices into a 3D plot

I am currently trying to combine several 2D plots into one big 3D plot. The 2D-plots are simply input-results from calculations (so these things have 2D coördinates (x,y)). The results depend on an ...
4
votes
1answer
116 views

The case of the disappearing locators

I have a complicated Manipulate that uses multiple locators, and need to document the output by saving the graphics to a file. The problem is that when I try to save the graphics, the locators ...
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
1answer
68 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 ...
1
vote
1answer
51 views

Contourplot gives inaccurate ellipses

I'm trying to draw a family of ellipses with pre-defined foci as follows: ...
2
votes
3answers
235 views

Surface area of a cylinder [closed]

Evaluating expr = {Sin[t], Cos[t], Sin[p]}; ParametricPlot3D[expr, {t, 0, 2 π}, {p, 0, 2 π}] Area[expr, {t, 0, 2 π}, {p, 0, 2 π}] gives an area of ...
2
votes
2answers
129 views

How to set viewpoint Graphics3D to a different default orientation?

I'd like to have a SphericalPlot3D show up with the "z-axis" oriented horizontally by default. For example, in ...
2
votes
1answer
72 views

Font presentation difference between version 9 and version 10

I am trying to make presentation quality bar charts. As part of my effort, I used the code below. Updated to eliminate font specification. The problem appears to be a rendering difference, not a font ...
0
votes
0answers
54 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. ...
6
votes
2answers
142 views

Color lines by angle

I would like to color some lines according to the following color function: ...
7
votes
1answer
153 views

Ghost trails with Animate?

What are some approaches to integrate Ghost trails methods with Animate, which otherwise seem more suited for exporting individual frames? For example, given this rootPlot function, how can trails ...
0
votes
2answers
50 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 ...
18
votes
3answers
1k views

Finding a function that fits the shape of an image

How can I find a function that fits the given shape of an image? Or instead extract a point set from the shape and then find an interpolating function fits the shape. An example image is attached.
0
votes
0answers
33 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!
4
votes
2answers
148 views

How to generate mesh and calculate volume of 3d object?

I saw a couple of posts dicretizing the graphic and generate DelaunayMesh to get volume of 3D object. The issue I'm having is that DelaunayMesh creates a bigger solid covering the original one, ...
0
votes
0answers
66 views

Dynamically update a graphic object in Mathematica

I was trying to simulate a bouncing ball (with no gravity) in a unit box and I managed to come up with a solution: ...
4
votes
1answer
146 views

VertexRenderingFunction (or EdgeRenderingFunction) with movable nodes?

In GraphPlot, I'd like to use VertexRenderingFunction (VRF) and have the resulting object behave the same way under dragging verticies as it does when I do not use VRF. The same issue occurs for ...
0
votes
1answer
45 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 ...