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
281 views
1
vote
1answer
209 views

Create Slider to start/stop/move Point

I want to be able to start, stop, and move the dynamically moving point simultaneously in both animations. The "PlayPauseButton" in the animations only controls the given animation. Indeed, I want ...
1
vote
1answer
180 views

Plot3D missing a zone

I am trying to plot a simple graph using Plot3D: ...
1
vote
1answer
185 views

Text with specified FontSize looks smaller than expected

The simplest way to see what the post's title is trying to convey is to evaluate: ...
1
vote
1answer
172 views

Behaviour of Locator

I seek advice regarding the constrained behaviour of the Locator: appears confined to square {0,0}->{1,1}. When I change starting position it snaps to this constrained region. The code I am referring ...
1
vote
1answer
128 views

Using With in combination with Graphics [duplicate]

Assume that we are given a symbol p={x,y} which should represent a 2D point. If x and y have ...
1
vote
1answer
120 views

Draw only the top of the boundary of a function in Plot3d

So currently I have via combining 3 Plot3D's in a show. My question is how can I make it so that the ONLY portion of that border highlighted green, is the "curving portion" in the xy plane, rather ...
1
vote
2answers
950 views

Copy and pasted graphics are fuzzy

I have a function that creates a 2D line with filling to the axis. When I copy this graphic into MS Word it is very fuzzy, so much so that the numbers and text are almost unreadable, not to mention ...
1
vote
2answers
655 views

How can I set an image as the background of a panel?

Is it possible to set an Image as the Background of a Panel? I've studied all the options in ...
1
vote
1answer
399 views

ListPlot Inset coordinates problem

Inset seem better suited for ad-hoc labels and legends than for precision, programmatic placement of annotation. Given the following 'bottom-up' graphic expression: ...
1
vote
1answer
218 views

Graphics, PlotRange and/or PlotRegion

Consider the following snippet of code: ...
1
vote
2answers
57 views

Manipulate slider freeze, and empty value in box

Here's a MWE code to show two problems I'm experiencing with the sliders and their value box, under Manipulate : ...
1
vote
1answer
64 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
1answer
50 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 ...
1
vote
1answer
86 views

Reducing the size of exported .eps files to the minimum necessary

Running version 10.3 on my Power Mac with 22 Gbytes of memory I can create and export an .eps or .pdf graphics such as, ...
1
vote
1answer
55 views

Streamplot in one direction

R gives explicitly the seeding points and I want the stream lines to be drawn in one direction only, outside the circle ...
1
vote
1answer
105 views

Put error bars in specified plots spots in a graph?

Hello again i have the next problem: i have done a very nice graph and i need to incorporate the standard deviation on graph but i only need to put those error bars in just some plots on the graphic ...
1
vote
1answer
78 views

Remove color artifacts in overlay of several Graphics objects?

I am trying to create an animation with a graphic of an arm that can bend at the elbow. For this purpose I created the following two images: hand1 and hand2. I load the images with ...
1
vote
1answer
72 views

General method for extracting graphics primitives from a plot [closed]

I often have to plot experimental data that is very noisy, and sometimes I try a bit of image processing on it. For example (using a test function) I can gaussian filter it: ...
1
vote
1answer
83 views

How to save all images in GraphicsGrid?

I have a 2X2 images. How to save all the images at once while using GraphicsGrid ? when I try the save graphic option only one image is saved
1
vote
1answer
64 views

Narrow a Drawing Tools Window

I used the Graphics->New Graphic, then the Drawing Tools to create this in my notebook. Now, you can see that there is ...
1
vote
1answer
114 views

Manipulate of Region Plot

I try to illustrate a generation of an amoeba to a tropical curve, namely. ...
1
vote
1answer
52 views

Error while rotating disk [closed]

Trying to rotate a disk, it gets trimmed: Graphics[Rotate[Disk[{0, 0}, {1, 1}, {0 Degree, 180 Degree}], 20 Degree]] I would be pleased if you could tell me ...
1
vote
1answer
42 views

How can I decouple the updating of a `LocatorPane`'s background from changes in its point variables?

I am building a Dynamic application and I'm having some trouble understanding exactly how Refresh should be implemented. The ...
1
vote
1answer
175 views

copy and paste legend with plot [closed]

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 ?
1
vote
1answer
150 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 ...
1
vote
1answer
77 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 ...
1
vote
1answer
123 views

Histogram 3D: use different bin width in two directions

I'm trying to plot an histogram of a set of data, I would like to use a bin of different width in x and y direction. I've tried using the following two codes: ...
1
vote
1answer
75 views

Possible to dynamically redraw single plot of multiple shown together?

I am attempting to create a tool to visualize gradient, eigenvector, and eigenvalue information for a 2D surface. I want to show a contour plot of an inputted function and overlay the gradient and ...
1
vote
1answer
111 views

Coloring vertices according to a function using GraphPlot3D

This question is similar but not identical to a related question called: coloring-vertices-using-graphplot . I need to color the vertices of a graph according to a function, f that is defined on the ...
1
vote
3answers
90 views

Showing the coordinates on a plot in TraditionalForm

I just want to show the coordinates (Log[y/x],Log[x/y]) of a point on a Graphics object, but TraditionalForm fails to convert ...
1
vote
1answer
243 views

Finding the Tangent to the Curve [duplicate]

I could use some help with this. This is my first time using mathematica and im trying to get use to the coding. Find an equation of the tangent to the curve and graph the curve and tangents. ...
1
vote
1answer
170 views

Horizontally compress a picture with varying compression ratio

I have a function c[x] whose domain and range are both [0,1]. And I have a picture with width W, height ...
1
vote
1answer
176 views

Creating an animated graph model based on equations

So I have a graph that looks like this ...
1
vote
1answer
324 views

Making single letters non-italic in Graphics/Text/Style objects

Suppose that I use Graphics, Text, and Style to type one letter in the subscript of a letter ...
1
vote
1answer
200 views

Export Graphics using Move in Optica

I am modeling an eye and am using TurboPlot and DrawSystem. I would like to export the graph, but using the ...
1
vote
1answer
243 views

Exporting a Table of Graphics into Individual Files [duplicate]

The command Table[Polt[Sin[k x],{x,1,10}],{k,1,30}] generates a list of graphics. I want to export each list item as an individual jpg file, named according to ...
1
vote
1answer
121 views

ListPlot with redundant labels for tick marks

Is it possible to have two sets of labels for the $x$-axis tick marks using ListPlot? For example, could we have tick marks labels: {1,2,3,4,...}, and then right ...
1
vote
1answer
184 views

Find size of vertex image relative to the graph coordinate system

I am trying to define a graph using my own VertexShapeFunction with an ActionMenu button being the vertex and a custom ...
1
vote
1answer
2k views

ContourPlot Legend with colorbar for arbitrary contour values

I have a ContourPlot in which I have specified the contour-values myself as Contours->{0.01, 0.05, 0.1, 0.2, 0.3}. I would like to get the corresponding contour-values to be shown in the color-bar in ...
1
vote
1answer
312 views

A problem on generating convex hull

For example, I typed the following: ...
1
vote
1answer
447 views

How do I draw multiple 3D shapes defined by lists of points?

I'm attempting to draw $N$ cones on a 3D object, where each cone is specified by a pair of 3D coordinates. The first coordinate is for the cone's base, the second one for the cone's apex. Here, I ...
1
vote
1answer
176 views

Spacer and Text in Graphics going Awry (in Mathematica 7)

Use of a vertical Spacer in justified text inside a graphic isn't working as required. The result in the green box looks right, but when this is placed in a ...
1
vote
1answer
146 views

Obtaining Size Of Graphical Objects

I have created a panel, say Panel[""]. I want to know its size/dimensions. Is there any built-in function for doing that?
1
vote
1answer
106 views

TextCell going awry due to ImageResolution (in Mathematica 7)

Can anyone see how to fix this text display? The example is from a larger project. I need to export the graphic at high resolution, but the text is going wrong. ...
1
vote
1answer
349 views

Making a screen icon by Mathematica

Is it possible to make within Mathematica an image file to be used as a screen icon? Could you kindly give an example?
1
vote
1answer
105 views

Out of range red glow on inter-dependant sliders in manipulate

In manipulate, I need to define two sliders : one basic slider, and a second one for which the end value depends on the current value selected on the first slider. How can I achieve this in ...
1
vote
1answer
64 views

Generate $n$ randomly oriented non-intersecting cylinders with fixed radius and length

This post is in reference to the previous question here. How could I adapt the solution given to have the following constraints: fixed radius, fixed length, number of cylinders, and within a ...
1
vote
1answer
75 views

change the size of the image

If this is trivial or a duplicate I apologize. I failed to find something. I have the following code ...
1
vote
1answer
53 views

Framed text in a Graphics expression [closed]

How is it possible to insert Text inside Framed as below? ...