Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [graphics]

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 Plot commands.

0
votes
2answers
32 views

ParametricPlot table of complex functions in several graphs

Assume that I have a table of complex functions like Clear[p] Clear[M] M = 10; G = Table[Sin[i p] + p I, {i, M}] I want to ParametricPlot them in graphs, each ...
2
votes
1answer
46 views

How can I generate a best fit quadratic function?

This is my first time using mathematica so I'm pretty confused. This question is based on the Sierpinski Triangle. The figure below shows the percentage of total even entries and total odd entries ...
1
vote
1answer
54 views

How can create a plot showing an NFL team's yards and points per game over the past 10 seasons?

I'm looking to create several plots comparing statistics for NFL teams. In particular, I want to compare yards per game (YPG) and points per game (PPG) since 2008. Can this be automatically pulled ...
0
votes
1answer
47 views

Generate a table for the percentage of even numbers in Sierpinsky triangle?

I have this question on the Sierpinski Triangle: What percentage of the figure is blue? ...
1
vote
1answer
57 views

Fine tuning PlotLabel graphics - Lissajous Curves

Overall, I'm quite happy with my Lissajous Curves poster maker; however, getting the final touches of the graphics just right has been a challenge. I've tried two different ways of constraining ...
3
votes
3answers
86 views

How can I make Graphics objects clickable?

I have created a list (listA) that specifies disks based on color, center point, and radius: ...
3
votes
2answers
49 views

Non-cyclical PlotStyle?

I'm trying to plot a Table of functions. Since the number of elements is unspecified, I want to specify a "repeating" graphic directive. Supposing I have two direcives, m and s, I would like to do ...
3
votes
0answers
38 views

Is there a limit to the amount of data that can be Run?

I need this command to work through the WolframKernel and it seems well beyond my understanding why it does not work above a certain amount of data size I'm passing to ...
4
votes
2answers
142 views

How can I make a plot like this in Mathematica?

I need to make a plot like this below, any idea?
7
votes
2answers
156 views

Fisheye View of Graphics3D Object

I would like to plot a Graphics3D object using a fisheye view like, for example, the equidistant fisheye described here, where the distance R of a point from the ...
2
votes
0answers
27 views

Graphic scaling of neural network SummaryGraphics

Same funky scaling occurs when dragging the SummaryGraphics with the mouse; so, the issue is in the graphics itself not in the ...
0
votes
2answers
53 views

Appending barlegend to a combined graphics object?

I have a rather complex looking plot which is a combination of graphics objects, generated by ...
4
votes
2answers
62 views

Speeding up RegionPlot for iterated function system fractals

This is my first post here, I have the following basic code for drawing an iterated function system fractal. It works to the third step, but then for the fourth iteration it freezes my old MacBook. I ...
10
votes
3answers
749 views

Can I hatch this region in any way?

Can I hatch this region in any way? ...
11
votes
1answer
280 views

How to determine the longest edge in a graph?

I have a list of 2D points such as in the image. coord = {{0, 0}, {10, 0}, {20, 0}, {30, 0}, {25, 10}, {0, 10}, {0, 5}}; I would like to determine the longest "...
0
votes
1answer
52 views

How can I make a convex catenoid (minimum surface of revolution that closes on -1 and 1? [closed]

In Wolfram MathWorld I see the catenoid (minimum surface of revolution which is concave and open ended, but I want the one where the sides are convex and close on the long axis (say z) at -1 and 1. I ...
1
vote
2answers
154 views

Orthogonal Projection of vector onto plane

I'm currently trying to learn Mathematica, and I've got some linear algebra tasks to solve with it. I've gotten quite far but now I'm stuck on this one exercise. The instructions are: With the help ...
1
vote
0answers
46 views

How can I vary the height of items in a GraphicsColumn?

I would like to create graphics that look like this: g = Grid[{{"Circle"}, {Graphics[Circle[]]}, {x^2 + y^2 == r^2}}, Frame -> All] But when I use this code, ...
1
vote
1answer
34 views

How do I recreate the lines and labels as seen in this image?

How do I recreate the light gray lines and labels pointing to the zeros of this function? I have no prior experience using Mathematica, so please include all code or resources. I have the list of ...
1
vote
1answer
33 views

Region plot in Log scale without affecting mesh functions

How can I do a region plot with its mesh function in Log scale? For example, ...
2
votes
1answer
70 views

How to use Normal to recover translated points [duplicate]

I'm working through a coding exercise to program a matrix of Lissajour Curves in Mathematica but have encountered an obstacle when trying to recover the translated ...
1
vote
2answers
54 views

How to reduce margins of text in GraphicsRow?

I used the code GraphicsRow[{Text["1"], Graphics[Disk[]], Graphics[Disk[]]}] to generate a row of graphics, but one of them is actually some text. I found that <...
2
votes
3answers
217 views

How correctly align text as graphics

When I try this: Framed@Graphics[{Text[ Style["Text", FontSize -> 50, Bold, Black, Background -> Green, FontFamily -> "Calibri"]]}] I get a ...
1
vote
2answers
98 views

Is there a meaningful difference between two ways of writing a Manipulate expression?

What is the difference between Manipulate[Graphics[Disk[{x, 0}, 1], Axes -> True], {x, 0, 10}] and ...
0
votes
1answer
67 views

Best solution to insert text at defined position into image

What is the best solution to insert text at defined poition into image? I saw this question/answer but it does not help me for my examples below. I tried the following and find some strange ...
-1
votes
1answer
46 views

Plotting Base-vectors not working properly [closed]

I'm stuck on a issue that I can't seem to solve. After defining values for V, W and x, I'm supposed to Plot two base-vectors in the base V and with the vector x in the same picture. I'm supposed to ...
1
vote
1answer
59 views
3
votes
0answers
31 views

Extra Ticks in Chart Boxes?

Is there a simple way to clean up the overextending ticks and highlight the line intersections? ...
1
vote
0answers
53 views

unexpected color cycle

I had thought that the defaultColorFunctionScaling ofTrue should preclude this outcome, but I'm seeing it in a ...
0
votes
1answer
73 views

How to get Lissajous curve like the following gif [duplicate]

parameter equation $x= \sin(m t)$, $y= \sin (nt)$,(fix $m=13$, $n=18$ not to change) I need the picture show the generation of the curve.(start from one point to the final curve like you draw it ...
0
votes
0answers
52 views

Graphics from previous one without repeating the calculations

First of all, I will say that my Mathematica knowlodge is very limited. Ok so I want to create a video of a fractal being constructed. I generate the fractal by writting consecutive natural numbers in ...
0
votes
1answer
45 views

Graph of a solution for the different parameters

I want to plot for Sol for the different values of s=0,1,2. can some one guide ...
1
vote
1answer
34 views

Two png images aligned in one column with vertical spacing zero and left aligned

I have the following two png images which I want to left-align in one column with zero vertical spacing, retaining their original size (which is for both the same, ...
0
votes
1answer
42 views

How to change colors of 3D parametric plot

I have a 3D iterative plot, where each iteration (1,2,3) is represented by equation of piecewise linear function. I am trying to change the colors of plot, to get for every iteration (piecewise ...
2
votes
1answer
43 views

Questions about higher order Bézier Curves

I can generate the same Bézier Curve using my own code as the curve generated by Mathematica's function BezierCurve, but when I increased the order of the curve, it ...
2
votes
1answer
55 views

Plotting 2-dimensional polytopes embedded in n-dimensional Euclidean spaces

My minimal working example is Graphics3D[Polygon[{{0, 0, 2}, {0, 3, 4}, {0, -1, 2}}]] How can I plot the polygon I have listed above on a 2-dimensional plane (...
0
votes
0answers
17 views

Parametric Plot EPS Export Jumping Frames

Observe the following Wolfram Mathematica (11) code. Essentially I'm just creating a parametric plot with another parameter a to be varied with time and then ...
2
votes
1answer
51 views

Export Parametric Plot as PNG with no background

How do I export a ParametricPlot as a png image with no background? For example, my exported image look like this: But it has a white background. I need that white background to be a completely ...
3
votes
0answers
41 views

how to produce animated SVG

Let's say I have some animation stored as a series of frames in list, and I would like to export this so I can show the animation on a web page. I can produce an ...
6
votes
3answers
191 views

how to generate random convex quadrilaterals using circles (actually inscribed within circles)?

I would like to generate random convex quadrilaterals using circles, my tutor has suggested to using randomreal to generate 4 numbers and scale the sum of them to 2pi, and then use trigonometry ...
1
vote
1answer
45 views

Smoother cones and better 3D arrows in Graphics

I have this code: ...
1
vote
1answer
88 views

Numeric data from a color map

Importing the following image (without a scale): and knowing the extreme temperatures, is it possible to obtain the graduated scale? Also, it would be interesting to get the temperatures of all the ...
2
votes
0answers
29 views

Why is ColorFunction called more than once for every color cell

I was trying to use a custom ColorFunction with Raster and I noticed it gets called seemingly a random number of times for each ...
0
votes
1answer
71 views

RepeatedReplace (//.) not working as expected within an expression in a graph

I'm plotting a tangent line to a region and, depending when I evaluate it, I get inconsistent results. I want to use the first way of doing things for flexibility but it doesn't seem to be working. ...
7
votes
2answers
318 views

How to color nodes in a adjacency graph with different colors?

Let us consider a binary adjacency matrix $M$. We want to color the nodes of corresponding adjacency graph with 4 different colors such that two adjacent nodes have different colors. How to find 4 ...
0
votes
2answers
67 views

How to generate a Bézier curve using 4 points(arbitrary), without using the built-in function of Mathematica?

How to generate a Bézier curve using 4 points(arbitrary), without using the built-in function of Mathematica? The main point is that we do not use the built-in function in Mathematica, instead use a ...
0
votes
1answer
41 views

Why does trying to plot the solution to this system of ODEs this way lead to errors?

I would like to plot the curve $\alpha(s) = (l(s), h(s))$, where $l$ and $h$ are the solutions to the system $l'^2 + h'^2 = 1$ and $l'h''-l''h'=h'\tan(l)$. Here's what I tried: ...
0
votes
3answers
71 views

Can `PlotRange` of x-axis automattically determine y range?

PlotRange can specify the plotting range in each direction. Let's say you have a large set of data and you may want to plot parts of it by specifying the ...
0
votes
0answers
37 views

CUDAQ::internal: CUDALink experienced an internal error

I have Mathematica 11.0.0 installed on Windows 10, with an NVIDIA GT 630M GPU on my Dell Inspiron. I am trying to run the CUDA examples in the Help files. All of the setup functions for CUDALink work ...
0
votes
1answer
33 views

How to make object to be transparent?

code follows Graphics3D[{EdgeForm[None], Import["ExampleData/seashell.stl", "GraphicsComplex"] } ] can i make the seashell to be transparent? example from ...