Mathematica Stack Exchange Community Digest

Top new questions this week:

Finding "chains" of numbers in a matrix

To give some context, this problem is related to music theory. I have a matrix I'm generating with this code: ...

discrete-math  
asked by Eriek 12 votes
answered by thorimur 12 votes

On the ordering of the vertices of a polygon

Writing: pts = {{1, 0}, {2, 0}, {2, 3}, {3, 3}, {3, 4}, {0, 4}, {0, 3}, {1, 3}, {1, 0}}; Graphics[{Red, Point[pts], Blue, Line[pts]}] we get: and all of this ...

graphics sorting polygons  
asked by Rolex 8 votes
answered by Tim Laska 12 votes

How would one add Hyperreals as a new type to Mathematica?

Hyperreals are an extension to the real numbers; they formalise the concepts of infinities and infinitestimals as numbers, rather than the named limit points outside of the system of reals and form ...

number-representation custom-notation real  
asked by Julian Moore 6 votes

How to force Dataset[] to output tables with named columns instead of named rows

In the mathematica documentation it says that the syntax required to make "a table with named columns" is the following: So consider some data arranged in this syntax: ...

dataset  
asked by Conor Cosnett 5 votes
answered by Fortsaint 7 votes

Change the color of error bars when using Around in ListPlot

I wanted to use Around to plot values with uncertainties in ListPlot. But when I used PlotStyle to change the color, it only changes the color of the dots but not the error bars; for example ...

plotting  
asked by H. Zhou 5 votes
answered by Bob Hanlon 7 votes

dataset highlight rows based on cell values

With the new Dataset/Background option feature introduced in 12.1, I would like to highlight the rows when either of the two columns has one of the target values in ...

dataset  
asked by Bemtevi77 5 votes
answered by kglr 8 votes

How to formulate this problem in Mathematica?

Say, I have the following expressions f = R[p] g = S[p] where R,S are rational functions, and I want to find a polynomial such that ...

equation-solving functions  
asked by nilo de roock 5 votes
answered by Roman 11 votes

Greatest hits from previous weeks:

Skip header lines on import

When importing a data file what are the comment symbols for Mathematica? That is, given a file like this blabla bulbul 1 2 6 54 7 ... .. what symbol do I have ...

import text  
asked by MaxJ 21 votes
answered by george2079 18 votes

Why round to even integers?

According to the Mathematica help: Round rounds numbers of the form x.5 toward the nearest even integer. For example: Round[{0.5, 1.5, 2.5, 3.5, 4.5}] gives ...

numerics language-design  
asked by wxffles 83 votes
answered by Per Alexandersson 51 votes

How to make a spiroglyphic?

Some (older) members of this group might remember playing vinyl LP records. Recently, at the Abbey Road studio there was a spiroglyphics coloring book for sale. It looks like a nice programming ...

image-processing code-request generative-art  
asked by TheDoctor 15 votes
answered by b3m2a1 19 votes

How to generate a random snowflake

'Tis the season... And it's about time I posed my first question on Mathematica Stack Exchange. So, here's an holiday quest for you Graphics (and P-Chem?) gurus. What is your best code for generating ...

graphics random simulation generative-art  
asked by Peltio 143 votes
answered by Silvia 183 votes

Plot, extract data to a file

I need to save data that Mathematica uses inside the Plot command. The format that I would like to have is: x1 y1 x2 y2 ..... ...

plotting export  
asked by molkee 30 votes
answered by Mr.Wizard 47 votes

How do I plot a plane EM wave?

I would like to display an electromagnetic (EM) wave. I have written code that works, but it does not "shade" the area between the graph and the axes. Both the ...

graphics physics visualization  
asked by Rainforest Frog 22 votes
answered by J. M.'s ennui 16 votes

How do I make a 3DPlot using cylindrical coordinates?

I'm trying to plot a function of the form $z(r,\theta)$ where $r \in [0, R]$ for a finite R, $\theta \in [0,2\pi[$, and z is the third coordinate, a function of the first two. I couldn't find anything ...

plotting  
asked by Learning is a mess 19 votes
answered by whuber 27 votes

Can you answer these questions?

Why don't AccountingForm, NumberForm and DecimalForm print more decimals?

I have the following set of equations: ...

output-formatting precision-and-accuracy input-forms number-form  
asked by Paul Razvan Berg 1 vote

Problem using KarhunenLoeveDecomposition

I have a matrix called stochasticData.mat which size is 211302*50 and I need to perform the Karhunen-Loève decomposition on it to calculate the uncorrelated random variables. Note that stochasticData....

list-manipulation image-processing series-expansion code-request coefficients  
asked by slow_learner 1 vote

Automatic import of the lexicon for the Game of Life

I am trying to import the lexicon for the Game of Life, preserving the structured information as far as possible automatically (so if the data changes a future import will update it). The text form of ...

import game demonstrations  
asked by TheDoctor 1 vote
You're receiving this message because you subscribed to the Mathematica community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038

<3