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 ...
0
votes
1answer
67 views
Colorbar doesn't appear
I have a list of data with dimensions $(2000,4)$.
I plotted it using ListPointPlot3D, setting the fourth dimension as the color. As follows:
...
3
votes
3answers
83 views
How to use Show in case one of the graphics doesn't exist?
I tried to combine three and more graphics with the Show command; but sometimes there is no data, so some of the graphics are empty lists.
I tried this:
...
2
votes
1answer
125 views
substitution rules for Penrose tiles
This page on W|A shows a nice substitution rule to draw kites and darts.
I'd like to implement the rule in Mathematica, so I've drawn the original kite and its replacement (separately). I've also ...
3
votes
1answer
90 views
How do I display a histogram with normalized counts?
I have some data corresponding to real number distances: {200.04053, 200.232123, 156.3242,...}, and I would like to bin these values and display them as a histogram ...
1
vote
1answer
297 views
How can I simulate a pot lid rotating around an axis that is quickly rotating?
How can I simulate the rotation of a pot lid about an axis that is quickly rotating as in the following image? I'm particular interested in the motion of the red dot.
Here is my attempt:
...
0
votes
0answers
59 views
Graph Plotting? [duplicate]
I am trying to produce publishing quality graphs. I would like to export graphs from a Notebook to Ai (Adobe Illustrator). How do I do this? Just started using Mathematica, very new!
Thanks,
Anousheh
...
4
votes
1answer
89 views
Creating plot markers with centered text
I want to create a series of plot markers which are circles, squares etc. with 2-3 letter codes centered within the marker. My current attempt looks like this:
...
3
votes
2answers
194 views
Triangle mapped on a sphere in $\mathbb R^3$?
How can I map a triangle on an sphere? I want to visualize (plot or animate) it for my student in my Non Euclidean geometry. I have no restrictions on the triangle's kind or on the sphere in $\mathbb ...
-1
votes
1answer
93 views
How can I draw a Cuboid given its center and its dimensions? [duplicate]
I want to draw a Cuboid accroding to the coordinates of its geometric center and its dimensions, rather than its diagnoal coordiantes.
And How can I draw a triangular prism?
1
vote
2answers
152 views
Using Chemical Data to make molecule graphics
I would like to take the acetone and chloroform molecules that Mathematica's chemical data provides, and plot them together. I want to show how chloroform can hydrogen bond to acetone. Right now I ...
3
votes
1answer
76 views
Automatically tracing and keeping ViewPoints in a list while manually rotating 3D graphics
I will need to make a video from the manual rotation of a 3D graphics. In order to do this, I will need to record the set of all view points that I made during rotation. There is method that we can ...
3
votes
2answers
141 views
How do I represent a system dynamics feedback loop?
In System Dynamics, if I want represent the relationship between Speed and Distances, I create a Flow (Speed) and a Stock (Distance) as you can see in this Insight Maker Sample . Heres an Image of how ...
1
vote
0answers
76 views
Is it possible to mask a vector image?
I am trying to plot a contour plot within a non-rectangular region. I have seen in other posts techniques that involve calculating an interpolation function and using the RegionFunction command within ...
2
votes
1answer
94 views
How can I change the position of my plot legends?
As the title indicates, I want to change the current position of the legends in a combined plot. The Mathematica code I used is
...
2
votes
1answer
33 views
NetLink Exporting Images doesn't work (Unknown string escape)
Exporting Image files (intermittently) doesn't work:
I get messages back indicating the error is to do with escaping characters:
...
4
votes
1answer
130 views
Precision of rendered Rectangles in stiff-scale graphics
The attchd graphics called chromograms represent a set of discrete-state, continuous-time - ie, discrete-event signals, generated with Mathematica 9 on OSX with a Cinema display.
• Top 2 rows are ...
3
votes
2answers
119 views
Density plot for data with a wide dynamic range
I'm generating some figures for a paper. One of them has a pattern like the following figure:
...
0
votes
1answer
101 views
How to export a plot into a file?
I am trying to save some graphics into a file, and it seems impossible.
...
3
votes
3answers
100 views
How to control the speed in Manipulation
As the title says, I want to control the speed when I use Manipulate. I have the following piece of code
...
1
vote
0answers
59 views
Tooltip not working in web deployed cdf
I deployed a CDF file in a web page. I used both Mouseover and Tooltip functions. They both work in the raw CDF file. The ...
17
votes
3answers
646 views
Creating a 2D meshing algorithm in Mathematica
As what is proving to be a difficult, but entertaining task, I am attempting to adapt a 2D meshing algorithm created for MATLAB and port it to Mathematica. I understand meshing functions already exist ...
2
votes
2answers
132 views
Illustrating half life
I'm teaching some lessons on negative exponents and one application listed was half life since the rate of decay can be written as 2^-1 every __ years.
I found this nice animation on the net.
...
7
votes
2answers
277 views
Create triangular mesh from random list of points
I have a list of points. I would like to take these points and create a mesh of triangles from them, making sure triangles don't overlap. So here's a list of points:
...
10
votes
3answers
233 views
How to remove unwanted regions in a three-dimensional surface
As the title indicates, I want to delete some unwanted regions in a three-dimensional surface created using ContourPlot3D. Here is the corresponding code
...
5
votes
3answers
258 views
Parameters for the CIE XYZ Color Space in Mathematica
In Mathematica, producing a color based on its RGB parameters is easy; one can use (for example)
...
3
votes
1answer
108 views
Adjacency List representation of a graph
I am looking to draw a graph knowing a simple adjacency representation of the graph like:
A = {{1, 3}, {2, 3}, {3, 4, 5}, {4, 5}, {5}}
Where ...
1
vote
1answer
91 views
Changing default range for x- and y-axis in ListPlot3D
How do I change the default values for the x- and y- axis in this example without altering the z-axis values? For instance, I want the x-axis to follow a range based
on "x= 0.01 i+3" (not just i) , ...
13
votes
2answers
204 views
2
votes
2answers
94 views
How do I determine the original aspect ratio of an imported image?
Say I import a TIFF, JPEG, or PDF image. How can I quickly determine the original aspect ratio of the image so that I can properly scale its size? I have thus far been unable to find an answer ...
2
votes
1answer
59 views
Snapping two “Drawing Tools” objects together while decorating an image
I'm using "Drawing Tools" to decorate an imported image (a TIFF file). I need to create a set of regularly spaced parallel lines, and my solution for doing this is to create a pair of parallel lines ...
5
votes
2answers
226 views
three-dimensional graphic objects that are not simple cuboids
I am trying to draw some graphics with Mathematica. The objects I want to draw are just a little bit more complex than a cuboid -- the difference being that the top and bottom faces are of different ...
4
votes
1answer
136 views
Drawing partition diagrams on spheres
I will be doing a few presentations at an undergraduate research conference later, the topics of which are somewhat tentative at the moment, but one of the things I wanted to go over were some of the ...
4
votes
2answers
188 views
How can I change a Slider's appearance?
I am using Mathematica 9.0 and Windows 7. I want to create a Slider that looks like the following:
I tried the following:
...
7
votes
2answers
120 views
Tick marks shrinking with ImageResolution [duplicate]
High resolution PNG export is handy for print quality plots, however tick marks are not scaling properly. Does anyone know a solution or a work-around, preferably for M7 (on Win7)?
...
4
votes
2answers
103 views
Image Rotation, Line Symmetry
I'd like to import an image, superimpose it, reduce the opacity of the overlaid image, and then use a manipulate to rotate the top image to illustrate rotational symmetry.
The image below is using ...
5
votes
2answers
263 views
Axes Origin & Labels in 3D Plot
I'm looking for a way to have the axes at the origin in a 3D plot and to label the (x,y,z) axes in the usual way---with x near the end of the drawn portion of the x axis, y near the end of the drawn ...
2
votes
1answer
81 views
2
votes
2answers
150 views
3
votes
1answer
97 views
Something wrong with RectangleChart and Tooltip?
Currently I'm working on a diagram showing the merit order of power plants in the Netherlands. On the horizontal axes you see the cumulative power and on the vertical axes you see the costs per MWh. ...
3
votes
1answer
108 views
Synchronizing manual rotations for multiple Graphics3D outputs?
Say I make a set of three Graphics3D images, here of three different cones, by evaluating:
...
8
votes
1answer
121 views
How can i generate a curve arrow tube?
Following the document, I generate a curve arrow tube using following code:
...
1
vote
1answer
72 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 ...
3
votes
1answer
167 views
Exporting a Video of a Simulation of Pendulum Motion
In a series of previous questions, I asked how to solve a series of differential equations describing a series of coupled pendulums, and then how to plot this data by coloring the different pendulums. ...
3
votes
3answers
97 views
Color function doesn't span the whole color range in MatrixPlot
In matrix visualization, for instance,
MatrixPlot[{{1, 2}, {3, 4}}, PlotRangePadding -> 0,
ColorFunction -> "Rainbow"]
the color map does not cover the ...
10
votes
4answers
382 views
Coloring Points in a Plot, based on their position in the list
Before I describe the question, I'd like to say that I've seen the excellent answers posted here but have not managed to get them to work for my own data.
I have a list of values that I would like to ...
2
votes
1answer
89 views
Increasing the size of numbers in a legend bar
I would like to know how you go about increasing the size of numbers which
appear in a legend to make them larger than the default (which is too small for publication purposes).
Example:
...
4
votes
1answer
424 views
Transform 3D data into 2D color map like Matlab's surf/imagesc
I have a bunch of 3D data (x, y coordinates and values) which is generated in Matlab and I need to render them in a 2D color map with certain axis ranges. Here are the Matlab code and the generated ...
4
votes
1answer
348 views
Spiral pattern and Fibonacci numbers
I'm want to generate a 2D spiral pattern like the the one shown in the following figure. I can generate the spirals one by one, but I think there ought to be a more efficient method for generating ...
4
votes
1answer
108 views
Manipulating a Graphics3D output with a large number of geometric primitives
I'm attempting to view and rotate a Graphics3D object with a very large set of geometric primitives ($\approx 10^6$ objects such as spheres or lines), and everything is functioning very slowly. Are ...
9
votes
4answers
331 views
How to draw a higher-genus surface
NB: By higher-genus surface, I mean a closed orientable surface of genus at least 2.
This question has come up before on math.SE, and even MathOverflow, but most posters suggested using either ...



