User Portlet
Featured Contributor
Discussions |
---|
By the way, this dividing line between two chains is known as the "Aldi-Äquator" in German, which translates to an "Aldi equator". There are definitely several maps like this to be found in the Internet, but as far as I can tell none of them are... |
Frankly I would find the phase separately by brute force, using reasonable candidate values (`timesinbetween` below). `SqWave` is just a pathologically nasty function to fit automatically. I would also, probably, rewrite `SqWave` in some other form... |
It most definitely should be possible, it's just that generating one shape with above parameters requires half a million points, each involving about ten thousand sine computations. I would expect interpolation per se to be reasonably easy... |
Choosing a good whole-planet projection is indeed a pain point for map of any kind, especially once one has learned how all projections have their limitations! Some different centerings for Lambert azimuthal (equal area): ![enter image... |
Now that's a funky projection! Is it purely for aesthetics or are there other reasons for it? :) |
[![enter image description here][1]][1] &[Wolfram Notebook][2] [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=sdf45gdafv.jpg&userId=11733 [2]:... |
Ah, it may be that I misunderstood something... `RandomSample` removes the sampled value from the value list before sampling again. So, `RandomSample[{1000, 1} -> {1, 2}, 2]` may have 1 only once in a result, and only twice in `RandomSample[{999,... |
You can achieve this with `LinearFractionalTransform`: LinearFractionalTransform[ {{{1, 0, 0}, {0, 1, 0}}, {0, 0}, {0, 0, 1/k}, 1}][{x, y, z}] (* {x/(1 + z/k), y/(1 + z/k)} *) Is it worth... |
Another form would be: #[a] & /@ {Cos, Sin} (* {Cos[a], Sin[a]} *) What you're looking for is probably the following: Through[{Cos, Sin}[a]] (* {Cos[a], Sin[a]} *) You can accomplish the above, by the way, with... |
&[Wolfram Notebook][1] [1]: https://www.wolframcloud.com/obj/d68f138f-39f0-4386-bda9-cfb6d8ebf399 |