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

1
vote
2answers
63 views

How to plot a finite number of vectors?

does anybody knows how can I plot one or two vectors? (I don't want to plot the vectorial field)? My target is to plot the electric field produced by a circle on a point and show how the point moves. ...
0
votes
1answer
29 views

copy and paste legend with plot [on hold]

how can I copy and paste legend with the graph from Mathematica 10.0 to Word. i can copy and paste a graph from Mathematica to word, but legend does not get copied. how do I copy paste the legend ?
4
votes
2answers
126 views

Overlapping Spheres with a Shared Blank Region

We have two similar overlapped spheres in a way that the distance between their centers is smaller than the sum of their radius (2R>a). As I show here: Also, we want to draw them in a such way that ...
3
votes
2answers
37 views

Undesired resizing with ImageMultiply and Masking

I want to systematically measure image intensity around each of the points in this 256x256 image. i0: I already have centroid locating code to figure out the centers of each of these points. To ...
0
votes
0answers
58 views

Plot all points that satisfy a condition [on hold]

I'm interested in plotting various curves directly from their definitions, but I have no idea which function I'd use for that. For example, I'd try plotting a circle by telling Mathematica that a ...
-4
votes
0answers
30 views

please, help me with writing a code in Wolfram Mathematica [on hold]

With six sliders set the two matrices: symmetric Q and symmetric positive definite G. Draw on the Cartesian plane of the main directions of the pair forms, along each of the main areas to defer a ...
10
votes
1answer
599 views

Solving and Animating Three Body Problem

I am attempting to solve a three-body problem using the Lagrange formalism, with a 1/r potential. I started off by defining T and U (kinetic and potential energy) as follows: ...
3
votes
2answers
125 views

How can one plot percentage chart of continuous functions?

I know you can plot percentages using stacked histograms like this: ...
4
votes
1answer
81 views

Lyapunov exponent plot

I am trying to create a Lyapunov exponent plot as a function of $\alpha$ for two functions: $$ f(x) = (\alpha + 1)x - \alpha x^{3} $$ and a piecewise function given by following Mathematica code: ...
1
vote
2answers
120 views

Rolling Disk Animation

I am trying to create an animation in Mathematica of a rolling disk outside a disk of equal radius. The following coding is what I have tried but without the one circle staying in a fixed position I ...
2
votes
1answer
110 views

Bifurcation diagram for Piecewise function

At the moment I am trying to create a bifurcation diagram of the discontinuous piecewise function given by following Mathematica code: ...
1
vote
1answer
76 views

Tick label is missing

These plots do not show the first tick label on the left: ...
7
votes
2answers
111 views

How to force DistributionChart to plot empty datasets?

Is there any way to force DistributionChart to display anything where there is an empty dataset? In the below example I'd like to have ...
0
votes
2answers
44 views

Control legend size when autoLegend is used with LinTicks [on hold]

It looks simple, but I'm been trying to solve this issue for days, but no luck yet. So, here I used LinTicks, as customized option and another graphic option. Here ...
-4
votes
1answer
36 views

Plotting various circles [closed]

I want to plot various circles in the same graphic using the command Circle. I mean, something like: Does anyone has an idea?
0
votes
0answers
45 views

How can I make a plot of integer lattice? [closed]

I want to make a plot of complex plane with dots representing visible lattice points. I want the result represented somehow like this: ...
0
votes
1answer
34 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 ...
1
vote
1answer
80 views

White Edges Around Graphics Elements

Using the following code, I am able to generate a grayscale Voronoi diagram: ...
2
votes
1answer
83 views

Barchart recognize time series data?

I can't seem to get Barchart to recognize TimeSeries data. For example, my data is: {{1891, 1}, {1892, 1}, {1897, 1}, {1898, 1}, {1903, 1}, {1904, 1}, {1905, 1}, {1908, 4}, {1909, 6}, {1910, ...
0
votes
0answers
58 views
1
vote
0answers
19 views

How to suppress mouse over error messages on graphics

How do I suppress these they are preventing me from getting coordinates. Here is the code to create the graphic if it helps. ...
0
votes
4answers
83 views

Family of Lines

I need to draw a family of lines connecting (a,0) and (0,b), where a+b=2, and determine an equation for the envelope of this family of lines. I need to do this in mathematica and don't know where to ...
6
votes
2answers
133 views

Extruding a wierd 2D shape to make a prismatic 3D shape

I have the outline of a 2D shape defined by a periodic radius R[θ]. I would like to extrude this linearly to a prismatic 3D object that has my cross-sectional ...
1
vote
2answers
78 views

Controlling colors of points in ListPlot

I have a collection of points I want to plot using ListPlot[]. I would like each individual point to be a certain color depending on a key value that is based on a list separate from the points. As a ...
0
votes
1answer
117 views

Finding a formula for a 3D shape and colouring it

I created a wall with line command ...
2
votes
0answers
27 views

Export PDF margins different in V9 & V10 compared with version 7

PDFs in version 9 and 10 have bigger margins than in version 7. I can't find any differences in the settings. I'm using A4 paper and it looks like version 9 might be trying to use letter size. ...
1
vote
1answer
111 views

Approaches to solving non-linear systems of equation with assumptions

The specific type of system looks as follows: \begin{align} (r-r')x+4d_1 x^3+4d_{12}xy^2 &= 0 \\ (r+r')y+4d_2 y^3+4d_{12}yx^2 &= 0 \\ \end{align} Where $r,r',d_1, d_2, d_{12}$ are all real ...
0
votes
0answers
28 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? ...
3
votes
0answers
72 views

Problem drawing a GeoPath polygon with GeoGraphics

I want to draw some polygons bounded with various geographic coordinates. For example, here is the code to draw a triangle between New York, Cape Town and Beijing. ...
6
votes
2answers
144 views

How do I get my spline based arrows to have rounded ends?

I would like to change the how the ends of the spline arrows in my figure are rendered to be "rounded", but ...
6
votes
7answers
729 views

How to draw a Circle in 3D on a sphere [duplicate]

The Circle function is strictly a 2D Graphics object, so that we cannot directly combine a ...
9
votes
2answers
179 views

How to make a ArrayPlot/MatrixPlot in polar coordinates?

in fact, I want to plot a image like: Fig1 the picture above is from a paper Zhou K.-J. et al. 2014 about ion up-flow of ionosphere in MATLAB there is a specialized function pcolor which could ...
0
votes
1answer
93 views

Building a 1 page “Scorecard” in mathematica [closed]

I'd like to be able to generate an 11 x 8.5 "scorecard" for various data projects I am working on. Traditionally, I'd import all my data into Excel, put the data into worksheets, and then have a ...
5
votes
2answers
134 views

How to make a world map with a coloured ocean and transparent land surface?

I'd like to make a world map with a blue coloured ocean and transparent land surface (to be used later as an overlay). With: ...
0
votes
1answer
54 views

How do I apply a conditional append rule to plot randomly chosen points?

I'm working on an attempt at forming a sort of "Mandelbrot" set using Newton's method and randomly chosen points. Effectively I need to define a loop for Newton's method to determine whether my points ...
0
votes
1answer
60 views

cross point of intersecting lines [closed]

What is the easiest way to find the crossing point of two intersecting lines passing lets say through points line1 = {p1,p2}, line2 = {p3,p4}?
1
vote
1answer
94 views

Separate output screen; clearing (cleaning) output screen

Is there a way to split the screen so that the code is on top visible, and execution of code look at the bottom? Is there any way to clean the screen from previous runs, so that the result of ...
3
votes
0answers
26 views

EventHandler click event in Graphics[ ] object does not work properly after using Deploy [duplicate]

There is a problem clicking layered Graphics objects after using Deploy. For example, the code below works as intended with the Disk 'on top of' the Line. Click either object anywhere and EventHandler ...
3
votes
2answers
121 views

Draw and Quantity

I'd like to use Quantity in my graphics, but I can't figure out how to do it even for a very simple Circle. ...
3
votes
1answer
75 views

White Lines in Contour Plot and 3D Plot

This is a follow up question to the original question here (has a solution). I am plotting another different total potentials and for this particular case the repulsive potential is a rectangle (open ...
0
votes
1answer
50 views

Coloring circles based on radius

I have a list of ellipses with x and centroid, orientation, and major diameter and minor diameter. I currently have them overlaid on an image in red but what I would like is to be able to colour them ...
1
vote
2answers
56 views

Label point on plot with image instead of text [closed]

I can use this code to label my points with text. ...
2
votes
3answers
137 views

How can I get from a list of characters representing a permutation to graphics showing the cycles?

I am trying to graphically represent cycles in various permutations of the alphabet, and have a question in two parts. I have ...
1
vote
1answer
35 views

Calculate the partial vapor pressures of a variable at xB = 0.75 based on the interpolation functions of the data

I'm having troubles in solving an exercise for an assignment in my Chemistry course. Talking about interpolations, I've already have a graph but I need to:(c) Calculate the partial vapor pressures of ...
1
vote
2answers
57 views

Grid versus GraphicsGrid use cases?

It seems that both Grid and GraphicsGrid can display graphics. Following the documentation here ...
1
vote
2answers
75 views

How to make legends in Graphics?

To make an equilateral hexagon, here is my code in mathematica: ...
1
vote
1answer
126 views

Integrated Solution Graphics [closed]

I want to draw this nonlinear differantial equation' graphic with other solving equation (in same graphic). ...
1
vote
0answers
57 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
1answer
147 views

Combining Mandelbrot and Monte Carlo

I'm trying to combine plotting a Mandelbrot set with 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 ...