19,158 reputation
350132
bio website
location Sydney, Australia
age 44
visits member for 2 years, 7 months
seen 17 hours ago

Moderator of Mathematica.SE and Celtic goddess.

Check out the Mathematica StackExchange Q+A site


Jul
15
comment DynamicModule with constant image size
@RChai let me second Rojo's welcome, and suggest that you register your account. That way, any upvotes from your future questions and answers will be added to the one you have from this question.
Jul
14
comment Turning evaluation off
Welcome to Mathematica.SE, by the way! Please consider registering your account so that the upvotes you get on any future questions and answers will be added to the ones you received for this one.
Jul
14
comment How to import numbers or protected signs from .txt?
Welcome to Mathematica.SE Joezens! Please consider registering your accounts, so that the upvotes you get on any future questions and answers add to the ones you received here.
Jul
14
comment Turning evaluation off
In principles you could use Map to wrap ToString around the expressions at each side of each rule, but if you take the quote marks off, Mathematica interprets "C1.4.4" as C1 * 0.4 * 0.4, i.e. 0.16 C1. There should be some version of HoldForm that works but it seems almost impossible to define a function that performs the transformation without releasing Hold somewhere along the line.
Jul
14
comment Learning Finance with Mathematica
@R.M they are assumed in the two books referenced - certainly Shaw and as far as I can tell, Stojanovic. My impression (and I am not working in an investment bank) is that many shops still just go with the Gaussian. The VaR built into Basel II pretty much assumes it too.
Jul
10
comment Internal Representation of ?name and ??name
@term-rewritica - you have Wagner's book? You lucky thing - mine was borrowed by someone years ago and never seen again.
Jul
9
comment DateList not using current year when a year is not specified
I get the same 1900 result (Mma 8.0.4, Win7) and yes, the documentation does explicitly say that. Interestingly the documentation example of DateList[{"2/15", {"Month", "Day"}}] has an integer zero in the seconds position, instead of 0.. Very odd! I think you might have found a bug.
Jul
6
comment ImagePadding or other means of getting whitespace when the PlotLabel is a Column or Grid
Can solution 1 be used without specifying the size of the Pane?
Jul
6
comment ImagePadding or other means of getting whitespace when the PlotLabel is a Column or Grid
Yes, I want to use PlotLabel for single panel plots like this one, but in the case of a multi panel graph as in that other question, I have to do it differently.
Jul
6
comment ImagePadding or other means of getting whitespace when the PlotLabel is a Column or Grid
@mr.wizard i can't test EMF export until I'm back at work on Monday and near a Windows machine. Dragging the boundaries doesn't really scale to my application, where I want other users to be able to plot things with minimal fiddling.
Jul
6
comment ImagePadding or other means of getting whitespace when the PlotLabel is a Column or Grid
Ironically this is how I do it for multi panel graphs. See mathematica.stackexchange.com/a/7695/8
Jul
6
comment ImagePadding or other means of getting whitespace when the PlotLabel is a Column or Grid
Related but not duplicate. Neither ImageMargins nor ImagePadding put white space above the title in a way that prevents cropping in EMF export, and the line spacing issue is weird. Because I have a custom function to make the title and I use it in both PlotLabel and as a separate grid element, I want some consistency.
Jul
6
comment ImagePadding or other means of getting whitespace when the PlotLabel is a Column or Grid
I tried ImageMargins but the text is still cropped, even though there is whitespace.
Jul
6
comment Selecting elements from a list one by one
This gives the correct output but there is no need to map the function part by part. Addition works element-by-element on lists (vectors, matrices, tensors).
Jul
6
comment Selecting elements from a list one by one
Where you are getting confused is with the idea that you need to do this "one by one". Mathematica does not need to do element-by-element arithmetic on lists "one by one" as if looping over the list. See this question for some useful parts of the Mathematica language that are more efficient and faster to write than the procedural way you are thinking about it now.
Jul
5
comment Alternatives to procedural loops and iterating over lists in Mathematica
@Jagra by all means add an answer or edit mine.
Jul
5
comment Assigning a particular value to array elements
yes, but please ask this is a separate question.
Jul
5
comment Assigning a particular value to array elements
@Daniel see my second answer which I have just posted.
Jul
5
comment Assigning a particular value to array elements
You definitely don't need that For loop. Xarray=A @@@ Tuples[Range[0, 9], 3] will do just as well, and it's much, much faster to type and to evaluate.
Jul
5
comment How can I open an Excel file and modify it in Mathematica?
@J.M. actually the undocumented TableView looks very spreadsheet-like.