9,985 reputation
11258
bio website
location somewhere in England
age
visits member for 1 year, 4 months
seen 34 mins ago
stats profile views 804

Mathematica apprentice

My gravatar is an eternal golden braid, made with the following Mathematica code:

Graphics3D[{
  GrayLevel[.3], Specularity[White, 15],
  Lighting -> {{"Directional", 
     RGBColor[1, .5, .4], {{5, 5, 10}, {5, 5, 0}}},
    {"Point", Yellow, {12, 3, 15}},  
    {"Point", White, {12, 3, 4}}},
  KnotData[{"TorusKnot", {2, 5}}, "ImageData"]}, 
 ViewVector -> {{0, 0, 5}, {0, 0, 0}}, Boxed -> False, 
 Background -> None, Axes -> False, ImageSize -> 1000]

22h
comment How to get path and file name of a pasted image?
Love the last 'similar image'!
23h
comment How to get path and file name of a pasted image?
(It could be this photo of Mars, by the way.)
23h
comment How to get path and file name of a pasted image?
What happens if you choose the Cell > Show Expression menu item with your cursor in the cell? I think it shows that the image is coded into the notebook but I might be wrong...
1d
comment Longest string of special characters
Ah yes - "had had 'had had'" is another one.
1d
comment Longest string of special characters
sort of obfuscated reverse code golf? Or how to show the Mathematica language at its best? :)
1d
comment Embed Code Into Image
I always forget about SVG - it never seemed to take off (probably due to Internet Explorer not supporting it).
1d
answered Embed Code Into Image
1d
comment Forecasting future Stock Prices II
Please check my edits - except for the MathJAX, which I can't do yet... :)
1d
revised Forecasting future Stock Prices II
formatting etc
1d
comment Forecasting future Stock Prices II
You're forgetting the special characters need backslashes eg \[Mu], and you're calling a function BrownianMotion1 that isn't there, and your Manipulate is varying a \[Sigma]1 that I can't see. Keep editing! :)
1d
revised A simple ListPlot with different colours and a Tooltip
improved formatting etc
1d
comment Embed Code Into Image
@Ajasja A quick experiment suggests that Mathematica doesn't export metadata to JPG files, but can import it from JPG files.
1d
comment Embed Code Into Image
Seems to work well - could be useful!
2d
comment Embed Code Into Image
@Liam In the linked article, Jon managed to store 70K ASCII characters in a 450x450 image, and he's stealing space rather than adding it, so the image is the same size, although slightly degraded. You could squeeze more text in if it was compressed.
2d
comment Is it possible to Import urls not type “”
@HyperGroups No, this is a non-Mathematica solution that works in any application - and just happens to work in Mathematica too.
2d
comment Embed Code Into Image
Any use?
2d
answered Is it possible to Import urls not type “”
2d
revised Having used Mathematica as a “gateway” language, where to from here?
felt guilty about the short answer... ;)
2d
comment Forecast Future Stock Prices - Brownian Motion - Again
You also have to be careful of copying pasting bits of code from notebooks like this. Although it looks like a series of slides, there may well be definitions in previous slides that have to be evaluated in order. Also, there may be initialization cells that have to be evaluated at the outset (and you can't always see them). Plus all the Unicode translation problems... Caveat copier!
2d
revised Plot sublists as different colors
included example