All Questions

Filter by
Sorted by
Tagged with
1
vote
0answers
92 views

Calculate the intersection points of a line and a parametrically defined 3D surface

Thanks to Henrik Schumacher for advice to simplify the sample code: I would be grateful for any pointers on the following issue. A line from an external point intersects the surface at 2 points (...
3
votes
1answer
185 views

Graphical representation of connection of people

I want to make a graphical representation of the people with the location, but coding is a little bit challenging. Here is my input {Person,Location,Influences} ...
1
vote
0answers
76 views

Visualizing a huge weighted graph

Consider a weighted graph 'net': ...
2
votes
3answers
204 views

Find the 3D region containing the origin bounded by given planes

I'm writing a code to generate the Wigner-Seitz cell of the reciprocal lattice for a given set of lattice translation vectors. For example, consider the Body Centered Cubic (BCC) lattice whose basis ...
2
votes
1answer
57 views

How to force ListPlot to print the new curve while keeping the old one

I would like to create a graph using ListPlot which prints new dataset every time the button is evaluated (based on the value given in ...
1
vote
2answers
134 views

MapThread conflicting with DynamicModule

Cross-posted: https://community.wolfram.com/groups/-/m/t/1625808 Answer posted on Wolfram Community I'm creating an interactive UI which allows the user to import data from a spreadsheet, perform ...
11
votes
1answer
288 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 "...
2
votes
1answer
76 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
1answer
105 views

Density plot for eigenvalues of a matrix

I am trying to make a density plot of $|min~[Im(v)]|$ (where $v$ are the eigenvalues of a matrix) as function of $\gamma$ (horizontal axis) and $T$(vertical), The code upto now is ...
0
votes
0answers
82 views

Plotting with various Manipulate options

I am trying to plot with the following code ...
4
votes
2answers
136 views

Finding patterns in Graph visualization

Please comment me if you think this question is not related to Mathematica stack exchange. I am trying to draw a graph representation of the system shown below As you can see, when red line passes ...
1
vote
2answers
159 views

A problem in bifurcation diagram

I have the following problem ...
2
votes
0answers
95 views

Normal vector in discrete 3D object

Consider a large array(~42000,3): array={{x1,y1,z1},{x2,y2,z2},...,{xn,yn,zn}}; This array forms a certain shape, it may contain cavities or other ...
0
votes
1answer
78 views

Rotating a plot with a gradient filling defined by a function

I'm attempting to combine two problems that were previously addressed in the questions below: Filling an area between two curves with respect to a color function Adding a gradient filling according ...
0
votes
1answer
28 views

From 3D array of numbers, create 2D array of disks where colour is z-component

I have a list of 3D coordinates. I create an array of disks using their (x,y) coordinates as: ...
3
votes
3answers
242 views

Joining data from different lists

Let's create some sample data ...
0
votes
2answers
1k views

Plot a list of functions in a single graph [closed]

I am trying to solve a problem using Procedural programming paradigm in Mathematica. I want to find a way to plot a list of functions in a single graph. The code is as follow, let me know what is ...
2
votes
1answer
136 views

FrameLabel function does not label my graph [duplicate]

I am using the Show function to graph two functions I previously plotted with ListPlot. I used FrameLabel to name my axis, but it does not work.
1
vote
1answer
112 views

How to transform a list of strings to a list I can plot with ListLinePlot? [closed]

I have to plot a list of data given by my professor. Here you can see the data is in txt. format and the problem is I can't plot it because the list is in string. Also, when I use the ListLinePlot ...
5
votes
2answers
567 views

How to interpolate 3D data

Here comes some sample data ...
2
votes
3answers
109 views

NestList with lower and upper limit

I'm creating a series of centered lines in {0,0} tilted from a set of angles. The first angle is $30°$ and the last one is $110°$. I want to control the number of lines between these two angles, but ...
5
votes
1answer
117 views

Fill space between two BezierCurves with random points

I asked a question about filling the space between two curves (Sin and Cos) with random points and the answer I received does ...
2
votes
0answers
186 views

Extract points from ParametricPlot3D

I have this ParametricPlot3D ...
0
votes
1answer
175 views

Custom labels in colorbar

Here comes a sample data set ...
0
votes
1answer
164 views

EdgeDetect for / find boundary of data in lists

I assume this is a simple task, yet I could not find any documentation or question treating this problem: Let's say we have a simple binary data set, in this case defining a shape of a circle ...
1
vote
1answer
110 views

making colored contourplots

I plot a graph by the code I wrote. The graph shows zeros of 4 equations. I want to make the graph colored: regions which both datas2r and datas2r are negative becomes gray, regions which datas1i OR ...
11
votes
6answers
773 views

Function to create a path made of horizontal and vertical lines between a number of points

I would like to create a function where I can define which case I want to use to create a path. ...
3
votes
2answers
164 views

Plot for big x numbers

I want to make a plot of data with big values by x. My code is this ...
4
votes
2answers
192 views

How to find value of average current

I have next code a = 1; T = 25; Subscript[I, 1] = If[t < T, a*t, 2*a*T - a*t]; Plot[Subscript[I, 1], {t, 0, 2 T}, AxesLabel -> {t, I1}] I need to find ...
5
votes
3answers
210 views

Adding points limits

With 4 points I set a path where your total length was subdivided into 300 points ...
3
votes
3answers
176 views

How can I know the length of each part of the arrow and what their full length?

How can I know the length of each part of the arrow and what their full length? points = {{6, 32}, {9, 53}, {18, 42}, {32, 51}}; Graphics[{Arrow[points]}]
4
votes
4answers
223 views

Movement of a disk by Angle x Time

I created two lists in which each one of them contains the information of time and position. ...
6
votes
1answer
134 views

How to simplify a resistence network and represent the simplifying process?

Through out our study from junior high to freshman year, we need to deal with complex resistence networks and know about how to solve them. There're three principle rules of them: when dealing with ...
-1
votes
2answers
474 views

Selecting points inside a closed curve [duplicate]

Let's create a rather dense grid of initial conditions ...
0
votes
1answer
116 views

Mapping a simple 2 variable function

Quick Question: What is the best way to map this function so it performs seperately for 102 different values of x? ...
3
votes
2answers
193 views

Hovering over specific coordinates on a picture

I'm working on a small function which can be used so that when the user hovers over certain coordinates in a LocatorPane, these coordinates can be checked against a separate list of coordinates, and ...
0
votes
2answers
49 views
4
votes
5answers
341 views

ListPlot with colors [duplicate]

Let's create some sample data n = 100; d00 = Table[{RandomReal[{-1, 1}], RandomReal[{-4, 4}], RandomReal[{-1, 1}]}, {i, 1, n}]; Now I want the following: create ...
2
votes
2answers
143 views

Creating a custom ListPlot of consecutive points

Here comes some sample data ...
2
votes
3answers
96 views

How to get a C4-symmetric (coincides after 90° rotation) matrix via `ImageData` from `Graphics`?

I tried an easy example with Disk centered at {0,0} with radius 1. Obviously, that object is C4-symmetric. Further, ...
0
votes
0answers
186 views

Make smooth plot from data

After some awesome tips from @qwerty I still have some doubts. As I said, I'd Like to make a smooth function with some other colors, I plot the graph, there is a lot of data. The situation is this: I ...
0
votes
1answer
359 views

How to make smooth function from data [closed]

After some awesome tips from @qwerty I still have some doubts As I said, I´d Like to make a smooth function with some other colors, I plot the graph, there is a lot of data. The situation is this: I ...
3
votes
1answer
265 views

Creating a custom color plot with tones of colors

Here is a sample set of data ...
-2
votes
1answer
75 views

Jumping from one dimension (1D) to two dimensions (2D) Part II

Here is a sample data file data = {{-10,3,1},{-7.5,12,3},{-1.5,5,2},{2,4,4},{3,7,4},{6,9,5},{7,1,5}, {8,3,1},{9,12,2},{10,8,5}}; The first element of the list ...
0
votes
1answer
128 views

Jumping from one dimension (1D) to two dimensions (2D)

Here is a sample data file m = {{-10,3,1},{-7.5,12,3},{-1.5,5,2},{2,4,4},{3,7,4},{6,9,5},{7,1,5}, {8,3,1},{9,12,2},{10,8,5}}; The first element of the list ...
2
votes
1answer
1k views

Basins of attraction of equilibrium points

The Henon-Heiles potential is the following V = 1/2*(x^2 + y^2) - y*(1/3*y^2 - x^2); which has four equilibrium points ...
3
votes
2answers
176 views

Customized ListPlot

I have an external data file containing the elements (t,x,y,px,py) of an orbit. Here is a sample data file. Now I want to ...
8
votes
1answer
218 views

Coloring spiral structures

In a previous question Original post @Julian S. proposed a method for coloring spiral structures. However this method works well only if the two spirals do not merge together. For example, for these ...
3
votes
1answer
527 views

Animating N points

So I'm trying to create an animation of N interacting particles in two dimensions confined in a box. Generating the data is fine and it's being stored in a text file with two columns for each particle;...