2,503 reputation
1331
bio website
location Louisiana State University, LA
age
visits member for 1 year, 10 months
seen 2 hours ago

"I want to know how God created this world. I am not interested in this or that phenomenon. I want to know His thoughts, the rest are details." --- Albert Einstein


Apr
13
comment Use remote kernel on debian from win8
Does this work for you? I've been using this method for a while and have no problems. I think you can change the default kernel in the menu Evaluation >> Default Kernel .
Apr
11
reviewed Approve suggested edit on MANIpulate. How to put labels and fit 24 vslides in a row?
Apr
8
comment How to not include data value outside plot range in the plot
@Silvia I guess I'm too lazy :) But seriously, usually the data I generate is a one dimensional list contains only the y value and without the x values, so it would be inconvenient to regenerate all the x values and select out part of the data, especially I usually adjust the plotrange very often. For example, I have a list consists of 100 data points run from -1.2 to 3.1, then if I want to plot the range 2.1 to 2.9, I have to do something like dt = (3.1 - (-1.2))/(100 - 1); ListPlot[Select[Transpose[{Range[-1.2, 3.1, dt], ls}], 2.1 <= #[[1]] <= 2.9 &]].
Apr
8
comment How to not include data value outside plot range in the plot
@Silvia I did consider raster, but it requires the frontend, which is quite slow for generate many plots.
Apr
8
comment How to not include data value outside plot range in the plot
@rasher but why sometime ListPlot do drop the "baggage" if we set the vertical plot range, as linked in the question?
Apr
7
revised How to not include data value outside plot range in the plot
add more explanation
Apr
7
comment How to not include data value outside plot range in the plot
@belisarius What do you mean? I think maybe I didn't say clearly, I meant to make p[[1, 2, 1, 3, 3, 1]] only contains the data points that in the plot range I set.
Apr
7
asked How to not include data value outside plot range in the plot
Apr
7
awarded  Nice Question
Apr
7
comment Plotting Fourier spectrum versus frequency of a signal
Also see an detailed explanation of the frequency arrangement in the output of Fourier here.
Apr
7
revised What's the correct way to shift zero frequency to the center of a Fourier Transform?
edited body
Apr
7
awarded  Excavator
Apr
7
comment What's the correct way to shift zero frequency to the center of a Fourier Transform?
@rhermans see the update for odd n :)
Apr
7
revised What's the correct way to shift zero frequency to the center of a Fourier Transform?
added 623 characters in body
Apr
7
comment What's the correct way to shift zero frequency to the center of a Fourier Transform?
@rhermans I usually drop one data point if n is odd :)
Apr
3
comment Why does setting $Assumptions make my Fourier transforms slow?
@m_goldberg Thanks for the editing. English confuses me more than Mathematica :)
Apr
3
asked Why does setting $Assumptions make my Fourier transforms slow?
Apr
3
comment How to compile a diagonal array efficiently?
Thanks, very helpful!
Apr
1
comment Why IntegerPart[x/(x/2)]=1?
Thanks! I never knew that a/b is interpreted as a*(1/b). That makes me worried a little bit about all the codes I have written. Actually I caught on this because of a strange behavior of my package, and it took me a whole morning to track down to problem to IntegerPart I used in that package.
Apr
1
accepted Why IntegerPart[x/(x/2)]=1?