« first day (1562 days earlier)      last day (2928 days later) » 

3:58 AM
Is there a question that deals with the most used functions? This deals with undocumented mathematica functions but it doesn't profile them by frequency.
 
 
4 hours later…
7:53 AM
Could someone please explain why {f, g, a, v} /. f_ /; f == g -> 1returns {f, 1, a, v}, as I was expecting, but {f, g, a, v} /. f_ /; f != g -> 1 returns 1?
Oops, {f, g, a, v} /. f_ /; f != g -> 1 returns {f, g, a, v} and {f, g, a, v} /. f_ /; (f =!= g) -> 1 returns 1
both seem to make no sense to me
 
8:21 AM
@JasonB For the first one, try a == b or a != b and see that these expressions are unevaluated. The condition in that expression is never true. For the second one, recall that ReplaceAll starts to try to match the top level, then if it doesn't match it works its way downwards recursively until it finds a match. If it finds a match it transforms that level. {f, g, a, v} =!= b so it transforms that level, because it's higher than the level that g is at.
 
8:40 AM
@Pickett Aha! So what I would want there is Replace[{f, g, a, v}, f_ /; f =!= g -> 1, {1}]
Thanks
 
 
3 hours later…
 
1 hour later…
12:35 PM
@William Have you seen the directory
SystemFiles/FrontEnd/SystemResources/FunctionalFrequency
in your install path?
 
1:26 PM
6
Q: Wolfram Language symbols by their Ranks

Karsten 7.I'd like to get the top 50, the bottom 50 and an ordered list of all Wolfram Language symbols based on their "Ranks". With allWLS = EntityList["WolframLanguageSymbol"]; this returns the top 50 Pick[allWLS, UnitStep[Replace[EntityValue["WolframLanguageSymbol", "Ranks"], m_Missing -> {{...

 
 
7 hours later…
8:06 PM
I'm trying to design something in Mathematica using a bunch of strings that contain the coordinates of the different lines, which I can plot using Graphics3D. Everything works well, except that it would be really great if I could have some coordinates in my plot. Normally I can get right the plot and select get coordinates, but this is not there now. Any way I can get that to show?
I can't find it in the documentation I should add.
 
@user3183724 Dynamic?
Post your code if you don't mind as a question unless you don't think it is question worthy.
 
@William Uhm, I'm not entirely sure what you mean by dynamic? The thing is the structures are built up using a (custom) library of a bunch of functions so I can't really post it here. I could give an example of a string though, which can then be plotted
 
8:21 PM
@user3183724 example would be good
 
An example structure would be
x = {{Line[{{-273.5, 180., 0.}, {-273.5, 250., 0.}, {-237.5, 250.,
0.}, {-237.5, 180., 0.}, {-242.5, 180., 0.}, {-242.5, 245.,
0.}, {-268.5, 245., 0.}, {-268.5, 180., 0.}, {-273.5, 180.,
0.}}], Line[{{-242.5, 250., 0.}, {-242.5, 180., 0.}, {-206.5,
180., 0.}, {-206.5, 250., 0.}, {-211.5, 250., 0.}, {-211.5, 185.,
0.}, {-237.5, 185., 0.}, {-237.5, 250., 0.}, {-242.5, 250.,
0.}}], Line[{{-211.5, 180., 0.}, {-211.5, 250., 0.}, {-175.5,
250., 0.}, {-175.5, 180., 0.}, {-180.5, 180., 0.}, {-180.5, 245.,
Which I plot with CoolView[x_] :=
Graphics3D[x /. {Line -> Polygon}, ViewPoint -> {0, 0, 1},
ImageSize -> Large]

with

CoolView[x]
 
Please post code that is runnable. Make a self contained small example.
 
Sorry for that. It's runnable now. You can copy the first part (x = ) and the second part (defining CoolView and then using CoolView[x]). It didn't all fit into one post.
 
> 222.` is not a Graphics3D primitive or directive.
What version of mathematica are you running?
@user3183724
Just delete the last 222. and it worksish.
 
@William right, there's a mistake. Sorry. Use CoolView[x[[1]]]
 
8:32 PM
not sure what you mean by coordinates I would ask an actually question with pictures of the desired output
 
So, let me try to rephrase it. Can you see the structure? It's like, two fingers, or three downs and two ups. What I want to visualize is for example the distance between the two fingers, I'd like to see how big it is from the plot (preferably on mouseover or something)
Because it's plotted on a grid according to the coordinates in the string, but I can't see the actual grid
 
I'm fairly certain such a question has been asked before but simply can't find it
 
9:12 PM
@William Well, thanks for the effort :) I'll just open a question, perhaps someone else has more luck searching than we had
 

« first day (1562 days earlier)      last day (2928 days later) »