I'm try to produce a streamplot of an electric field (the electric field potential is calculated using ndsolve then the grad of the interpolation function). A contourplot of the electric potential is correct and one of the electric field is plausible, but a vector or stream plot is returned empty. Any guesses what I'm doing wrong?
Can someone enlighten me? Why is it not possible to use BaseStyle to set some ground-rules for plots that can always be overwritten by explicit settings?
@Szabolcs I'm not using your MaTeX package, but I was having a look at it. Would it probably an idea to include a downvalue like this (you need to make this work for your parallel call):
A fresh new user posted the following question to mathematics.se, claiming he did so because a moderator of this site moved it there. The question was:
How to graph panties?
They look like sphere with three radially equi-distant holes. Has panties-like surface a specific name? If it has...
@b3m2a1 @halirutan BaseStyle is not for cells only but:
> An option setting BaseStyle->spec in a construct obj specifies that the construct should always automatically be displayed as Style[obj,spec].
so you have Style[Graphics[stuff], spec] but `TicksStyle` is an option for Graphics/GraphicsBox, set explicitly to `{}`.
Each time I am about to organize what I already know about styles stack, I end up being frustrated by the amount of branches and exceptions. And this example is not even so strange in this context.
@halirutan With MaTeX[str], str is supposed to contain LaTeX code. That's not what TextCell normally contains. With TextCell it makes more sense to convert its contents to LaTeX using TeXForm. But that already happens automatically: TeXForm@TextCell["asd"] returns \text{asd}, and MaTeX automatically calls TeXForm on (almost) anything that's not a string (including TextCell)
@halirutan Ah, I see ...
That's an interesting idea
I didn't see this second message of yours. It's definitely something to think about.
I usually do Ctrl-9 instead.
The shift is not needed maybe?
@halirutan If you want to experiment more, use MaTeX`Private`texify[TextCell[str_String, ___]] := str instead of adding definitions for MaTeX.
Is there any way of extracting cells or values from a documentation page?
For example, there is a "featured example" at "example/TripPlanning" in the documentation center that contains a cell that assigns a graph to g. I'm wondering if it's possible to "import" that graph from that "example/TripPlanning" page.
I'm at a loss for keywords to search for on mma SE.
@psimeson what are you trying to get at? I think the picture might be too low-res. I tried some of my splitting stuff from here: mathematica.stackexchange.com/a/155451/38205 to get just some of the numbers, and it can't recognize them by themselves even with RecognitionPrior -> "Character"
@psimeson And even when it does go to a numeric, it's not always perfectly reliable in this case. One thing that might be worth trying is a neural net trained on MNIST. I think Mathematica has one of those.
Given how bad the source data is, it's basically hand-writing.
i followed this wolfram.com/language/11/image-and-signal-processing/… to construct neural nets... it can recognize single digits pretty well but not double digits...anyway this is the first time I am using neural nets
I have 11.1 ... I am trying to neural nets for mnist on the fly right now
@b3m2a1 I am manually cropping image in blocks... it's ,might be really silly question .. how do i divide pictures in a block so that I can feed that into my classifier ? I am trying to use ImagePartition