39,864 reputation
559164
bio website
location
age
visits member for 2 years, 4 months
seen 2 hours ago

Nov
12
comment Calculate scalar potential from electric field
It's a differential equation so you need to use DSolve
Nov
12
comment Bug in RepeatedNull?
@Rojo, good example. Interesting that both {} /. s : {h ...} :> s and {} /. s : {_ ...} :> s behave as expected
Nov
11
comment Find a notebook I had open recently
I have to agree with belisarius and Sjoerd, use the OS search facility. E.g. on Windows 7 you just hit the windows button and type ext:.nb date:>25/10/2013 to instantly find all notebooks modified after 25th October.
Nov
11
comment Enlarge the axes text
Aaargh, my eyes...
Nov
11
comment Change base font for all graphics objects
Related: this and this
Nov
10
comment Rasterize uses default stylesheet if ImageSize is specified
Alexey, the Properties & Relations section of the Rasterize help file shows what I mean. In the first picture the text stays the same size (i.e. the same absolute size in pixels) when the ImageSize is changed, this is the behaviour I wanted. In the second picture the text magnifies in proportion to the image size, this is also what happens with your code. Neither behaviour is incorrect, they are just different.
Nov
10
comment Rasterize uses default stylesheet if ImageSize is specified
@Rojo, okay - that's what I see too.
Nov
10
comment Rasterize uses default stylesheet if ImageSize is specified
Since Mike's comment has received two upvotes I have taken that as community consensus that this is a bug and have tagged it as such. I will report it to WRI.
Nov
10
comment Rasterize uses default stylesheet if ImageSize is specified
This is a useful trick, but when I specify a reduced ImageSize in Rasterize I get the labels coming out demagnified.
Nov
9
comment Rasterize uses default stylesheet if ImageSize is specified
@Rojo, lol - I've just realised the workaround - Rasterize[Show[p, ImageSize -> 200]]
Nov
9
comment Rasterize uses default stylesheet if ImageSize is specified
@Rojo, not quite. That shrinks the labels - what I want is something that looks like Show[p, ImageSize -> 200] but in raster form.
Nov
6
comment Why can I still hear sound when the frequency of the periodic function inside Play is higher than the range of human ear?
+1 for annoying teenagers
Nov
6
comment Why can I still hear sound when the frequency of the periodic function inside Play is higher than the range of human ear?
I was similarly disappointed when GrayLevel[10^50] failed to produce a gigawatt laser cannon.
Nov
6
comment How to modify tick's range in Image3D
Have you seen Raster3D? This allows you to specify the range of x, y and z.
Nov
5
comment Fill circle layers with colors according to read values from a plotted curve
You're welcome, and thanks for listening! The best way to get familiar with the site is to browse through some of the other questions and answers. Don't forget to upvote any you think are useful, and of course share your own knowledge by answering any questions you can. If you have any questions about the site's policies and conventions you can ask them on the meta site
Nov
5
comment How to reverse the gradient and ticks in BarLegend
You can also use ColorData[{"TemperatureMap","Reverse"}]
Nov
5
comment Fill circle layers with colors according to read values from a plotted curve
Also, editing your question to include completely new requirements after receiving two very good answers is a little rude to those who spent time and effort writing those answers.
Nov
5
comment Fill circle layers with colors according to read values from a plotted curve
In my opinion the question about "how to reverse the order of a horizontal BarLegend" should be a new, separate question. It is a perfectly good stand-alone problem, and really completely unrelated to this "fill circle layers with colors" question, except that you personally happen to want both features on one chart.
Nov
4
comment How to use Compile to efficiently apply a function to every element of a list
I think it would be good to mention the option CompilationOptions -> {"InlineExternalDefinitions" -> True} as well.
Nov
4
comment How to use Compile to efficiently apply a function to every element of a list
Related