1.14 Thursday, February 4, 2021

1.14.1 Top new questions this week
1.14.2 Greatest hits from previous weeks
1.14.3 Can you answer these questions?

1.14.1 Top new questions this week

Confirm vs Throw
How to use wolframscript to develop flexible command-line tools?
Automatic Method for FindMinimum with constraints
How to refine a boundary mesh with MeshRefinementFunction?w
Ugly streaks caused by Arg in a contour plot
Trying to Rotate the North Pole View of a Globe
problem with DelaunayMesh 3D coordinates

Confirm vs Throw

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

Version 12.2 brought us Confirm and Enclose. What’s the point? Is it just that it’s a slightly more convenient syntax than ...

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

How to use wolframscript to develop flexible command-line tools?

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

I am currently changing a notebook into a wolframscript for a "production" environment, where I plan to pack the script as a standard CLI tool. However I do not know how to implement such an ...

asked by Gravifer https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=72025 10 votes

Automatic Method for FindMinimum with constraints

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

What is the default method used by FindMinimum with constraints? The documentation says:

"Currently, the only method available for constrained optimization is ...

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

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

How to refine a boundary mesh with MeshRefinementFunction?w

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

MeshRefinementFunction works well to refine elements in a defined spatial domain (here \(x>0\)):

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

answered by Tim Laska https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=61809 8 votes

Ugly streaks caused by Arg in a contour plot

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

I had a more general question about a similar problem more than two years ago, Getting rid of discontinuities in plots caused by square roots, logarithms, ‘Arg‘, etc, which got lots of interesting ...

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

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

Trying to Rotate the North Pole View of a Globe

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

My goal is to generate diagrams like this.

But I would like to be able to rotate the globe about the North Pole, so that I can represent different times of the day. When I use ImageRotate, the ...

asked by David Elm https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=44449 7 votes

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

problem with DelaunayMesh 3D coordinates

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

I found DelaunayMesh works fine for 2D. For example,

asked by matheorem https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4742 7 votes

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

1.14.2 Greatest hits from previous weeks

Conversion of Sine to Cosine
Extract real part of a complex expression better than Re does
Assign the results from a Solve to variable(s)
Why round to even integers?
Using Export[] sends the file where?
Formatting legend text font
What do the X and Y axis stand for in the Fourier transform domain?

Conversion of Sine to Cosine

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

I’m solving equations with many Cosines and Sines. And I want to convert all the Sines to Cosines using trigonometric formulas such as cos(x)=sin(x+pi/2). How can I do this?

asked by YongCheol Kwon https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=23041 4 votes

answered by Sjoerd C. de Vries https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=57 2 votes

Extract real part of a complex expression better than Re does

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

I have a complex expression with real positive variables only.

Mathematica Input Style:

asked by max https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=796 34 votes

answered by nixeagle https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=814 53 votes

Assign the results from a Solve to variable(s)

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

I understand Mathematica can’t assign the results of a Solve to the unknowns because there may be more than 1 solution. How can I assign the 4 values of following result to variables?

asked by stevenvh https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1450 56 votes

answered by Artes https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=184 34 votes

Why round to even integers?

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

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

asked by wxffles https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=427 83 votes

answered by Per Alexandersson https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=488 51 votes

Using Export[] sends the file where?

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

I am trying to use the Export command to convert a list of plots into a *.gif file, and the command runs and executes well, but I can’t find the file! Where is it ...

asked by Patrick Da Silva https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1785 37 votes

answered by Vitaliy Kaurov https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=13 51 votes

Formatting legend text font

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

I am using this code to plot a graph, and I am trying to make the font of the legend bigger.

asked by Julia https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=525 20 votes

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

What do the X and Y axis stand for in the Fourier transform domain?

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

In Wolfram Mathematica the function Fourier has the following declaration

Fourier[list]

And after a list is given to the ...

asked by user253956 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=29958 27 votes

answered by Hugh https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=12558 61 votes

1.14.3 Can you answer these questions?

RegionPlot of the Maximum of a function
How to let Mathematica evaluate a large amount of data
Directed Infinity vs Indeterminant in this output

RegionPlot of the Maximum of a function

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

For the function fun[a_, b_, x_, y_] = Sin[a x] Cos[b y] (a x + b y); corresponding to \(x\) and \(y\), I need a RegionPlot showing the maximum of function \(fun[a, b, x]\)

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

answered by Bob Hanlon https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=9362 0 votes

How to let Mathematica evaluate a large amount of data

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

I have the following code in mathematica which runs perfectly for a small matrix of 21 x 12 matrix. But I really want to test it for a large system. My data is 35844 x 21000 elements, totaling 1.5 GB. ...

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

Directed Infinity vs Indeterminant in this output

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

When I evaluate

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