Ernst Stelzer
Reputation
1,310
Top tag
Next privilege 2,000 Rep.
 Dec25 comment Generate nonoverlapping random circles @MarkAdler very nice. I noticed that having 'RandomReal' produce three numbers '{n,3}' and using 'Sphere' instead of 'Circle' produces perfect collections of spheres in 3D. Aug12 comment Reading csv/xlsx data into Mathematica with column headings as list names @TaliesinBeynon We use Excel files (.XLSX) to import data as well as export data. It provides us with a simple interface that can be understood and used by most people. Giving columns distinct, complete and reasonable names means the order of the columns does not matter and provides a named rather than a numbered access to the data. In this sense Association and Dataset provide serious progress within Mathematica. In a further step, we also named all rows, which means each cell is identified by pairs of names. Please do not forget that Excel sheets are regularly sorted. Aug12 comment Reading csv/xlsx data into Mathematica with column headings as list names An alternative way to create a Dataset is irisDataset = Dataset[Inner[Rule, header, Transpose[data], Association]]. Aug1 comment How to draw a line (1D) with labeled subdivisions Try NumberLinePlot in Mathematica 10. Jul29 comment How to get grid lines at all (log) tick marks in Version 10? @Mr.Wizard Thank you very much for the hint. It actually works inside Plot. I managed to crash the kernel with some combinations but "Reverse" worked too. Jul12 comment How to get grid lines at all (log) tick marks in Version 10? Of course I agree. I am in fact very unhappy with the various Log???Plot functions. In my opinion there should be a single Plot (and a single Plot3D) function, which is supplemented by ScalingFunction->{"Lin", "Log"} or something very similar. Oct26 comment Defining and evaluating new continuous distributions based on Mathematica's distributions Thank you very much that was exactly what I was looking for. The collection guide/DerivedDistributions summarizes a number of other functions I was looking for. Jul20 comment Why is parallel slower? You should try a very large data set. Every now and then the overhead in setting up a parallelization outweighs the effect of parallel processing. Using multiple CPUs is a relatively simple exercise. The situation will become worse when you use GPUs. The data transfer CPU->GPU->CPU is the critical part. Apr8 comment Functions, Options and Symbols @ J.M. PlotRange is definitely dcumented only as an option. How did you figure this one out? It is also not a general means for retrieving Options values. Very nice. Mar14 comment Making Axes logarithmic in 3d plots Maybe still more for future versions of Mathematica but the option ScalingFunctions -> {"Log", "Reverse"} has been introduced for Gauges, Histograms and BarCharts in version 9. Unluckily, it fails in number of instances. I reported this as an error a while ago. Since the implementation is very general, I cannot see why it should not also become available for all other Plot-related functions. Mar3 comment How do I change the way Mathematica pronounces English words (e.g. “futile” is not pronounced correctly)? Here is another one: Speak["You are hoss-tile."] Mar2 comment How do I change the way Mathematica pronounces English words (e.g. “futile” is not pronounced correctly)? I have not heard about Borgs in Berlin, but then who was JFK? Mar2 comment How do I change the way Mathematica pronounces English words (e.g. “futile” is not pronounced correctly)? Collins collinsdictionary.com/dictionary/english/futile confirms the expected pronounciation. Mar2 comment How do I change the way Mathematica pronounces English words (e.g. “futile” is not pronounced correctly)? A brilliant work-around. The orthography is deteriorating but the pronounciation is improving. Feb14 comment Forming Cone with Tube fails to work in version 9.0.1 Thanks for the comments and the workaround, I came up with another solution, but I have to admitt that 'Disk3D' had eluded me. I will reprot this as an error to Wolfram. Feb9 comment ScalingFunctions not working properly for x-axis I mentioned a problem with ScalingFunctions in "mathematica.stackexchange.com/questions/16557/…; and reported a bug to Wolfram. This might be a more serious issue. Jan8 comment Import a file only if it contains a certain pattern In Mathematica 9 ImageFileApply and ImageFileScan "can be used to read, process, and write successive blocks of data from a very large image file whose size could exceed available memory", i.e. to process without excessive loading. Dec4 comment Circular AngularGauge does not roll over boundaries @ cormullion Yes, that is the reason. I would like to see the 0, 20, ... and 340. Dec4 comment Circular AngularGauge does not roll over boundaries A magnetic compass is also a physical gauge and would certainly roll over. Dec4 comment Circular AngularGauge does not roll over boundaries Trust me, I tried all the obvious stuff and I am aware of the the ScaleOrigin option. I want to see 90° at the top. In your response 360 and 0 are also printed on top of each other.