1.10 Thursday, March 11, 2021

1.10.1 Top new questions this week
1.10.2 Greatest hits from previous weeks
1.10.3 Can you answer these questions?

1.10.1 Top new questions this week

Metropolis-Hastings Algorithm - Significantly slower than Python
Manipulate for playing along with "Deal or No Deal?"
BoxWhiskerChart - how to show Quartile and other values
Strictly Increasing Sequences of Length n in a List
Wafer Chucking Model
Art on Mathematica: How can I export 4K resolution png images?
Skewed grid in plot

Metropolis-Hastings Algorithm - Significantly slower than Python

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241402

I would like to code a Metropolis Hasting algorithm and thought I would get the general scheme of things going with a toy example.

I think I got it running but my Mathematica code runs significantly ...

asked by Smerdjakov https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=55615 13 votes

answered by Henrik Schumacher https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=38178 22 votes

Manipulate for playing along with "Deal or No Deal?"

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241234

I started building this Manipulate and am certain I can do so on my own, but thought it was fun enough that others might want to try. (If this is some abuse of the ...

asked by David G. Stork https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=9735 9 votes

BoxWhiskerChart - how to show Quartile and other values

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241231

I have a question in respect of the BoxWhiskerChart. The default functionality of BoxWhiskerChart is that you mouse over it and ...

asked by Jiri https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=77351 9 votes

answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 9 votes

Strictly Increasing Sequences of Length n in a List

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241087

I need to determine how many strictly increasing sequences of a certain length (e.g. 5) are contained in a list of integers. I would be very happy if someone could help me. A sequence would be ...

asked by hnh https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=77559 9 votes

answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 9 votes

Wafer Chucking Model

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241086

I am trying to calculate the pressure required to flatten a bowed wafer. The simple model I am using for the study has a bottom layer (the bowed wafer) pushed against a harder flat surface as shown in ...

asked by martin https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=77626 8 votes

answered by user21 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=18437 2 votes

Art on Mathematica: How can I export 4K resolution png images?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241503

This question is solely based upon \([1]\) and therefore, the reading of \([1]\) could be interesting. How can I export the image created, by the code in the following, with high definition, beautiful, 4K ...

asked by M.N.Raia https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=71570 8 votes

answered by thorimur https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=63584 10 votes

Skewed grid in plot

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241405

Is is possible to add a skewed grid in a plot? Consider the following image;

The grey axes are the normal axes (\(\mathbf {e}_1\) and \(\mathbf {e}_2\)), the black axes are transformations \(\mathbf {e}'_1=2\)

asked by mf67 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=55498 8 votes

answered by Daniel Huber https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=46318 8 votes

1.10.2 Greatest hits from previous weeks

Mathematica vs. Python - how does Mathematica compare to Python’s scientific computing suite?
Exporting graphics to PDF - huge file
How do I plot a plane EM wave?
How to create animated snowfall?
Image processing: Floor plan - detecting rooms’ borders (area) and room names’ texts
Calculate the 2D Fourier transform of an Image
What are the most common pitfalls awaiting new users?

Mathematica vs. Python - how does Mathematica compare to Python’s scientific computing suite?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=86058

Python’s family of packages for scientific computing has matured rapidly. I can pretty much replicate all of Mathematica’s functionalities, but with production level and open-source code using the ...

asked by M.R. https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=403 49 votes

answered by Jens https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=245 36 votes

Exporting graphics to PDF - huge file

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=1542

I want to draw some basic surfaces, export them to PDF and include them in a LaTeX file. I create a simple 3D graphics object, for instance with

asked by Matthew Leingang https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=395 109 votes

answered by Heike https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=46 88 votes

How do I plot a plane EM wave?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=1987

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

asked by Rainforest Frog https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=202 22 votes

answered by J. M.’s ennui https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=50 16 votes

How to create animated snowfall?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=16881

Well, the title is self-explanatory. What sorts of snowfall can we generate using Mathematica? There are two options I suggest to consider:

1) Continuous GIF animations with smallest possible number ...

asked by faleichik https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=219 40 votes

answered by Simon Woods https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=862 54 votes

Image processing: Floor plan - detecting rooms’ borders (area) and room names’ texts

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=19546

Here is a simple building floor plan. I would like to derive the rooms as (rectangular) components and the names of the rooms. This is very common representation of building floor plans.

The problem

asked by s.s.o https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=840 64 votes

answered by Niki Estner https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=242 59 votes

Calculate the 2D Fourier transform of an Image

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=29203

I am new to Mathematica, and using version 8.0.

I would like to calculate the 2D Fourier Transform of an Image< with Mathematica and plot the magnitude and phase ...

asked by user8727 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=8727 17 votes

answered by Nasser https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=70 33 votes

What are the most common pitfalls awaiting new users?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=18393

As you may already know, Mathematica is a wonderful piece of software. However, it has a few characteristics that tend to confuse new (and sometimes not-so-new) users. That can be clearly seen from ...

asked by Dr. belisarius https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=193 482 votes

answered by Michael E2 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4999 288 votes

1.10.3 Can you answer these questions?

Front-end rendering issues on Linux
time series - minimum differencing order needed to remove the trend
How does ‘TextureCoordinateFunction[]‘ works within ‘SurfaceAppearance[]‘?

Front-end rendering issues on Linux

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241216

I’m using Mathematica 12.2 on Ubuntu Mate 20.10 on an AMD FX(tm)-8120 with a GeForce GTX 1070 Ti NVIDA card. The issue is that I get unwanted horizontal lines just below the cell that I’m working on ...

asked by c186282 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4515 1 vote

time series - minimum differencing order needed to remove the trend

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241097

I was wondering how can I find What is the minimum differencing order needed to remove the trend in a time series? I have a a times series and a TimeSeriesModelFit, which is SARIMA model. I want to ...

asked by Pjana https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=75643 1 vote

How does ‘TextureCoordinateFunction[]‘ works within ‘SurfaceAppearance[]‘?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=241245

Following up from @kglr's answer here, I’d like to understand how TextureCoordinateFunction[] works within SurfaceAppearance[]. ...

asked by martin https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=9923 1 vote