User Portlet User Portlet

Jeff Bryant
Discussions
s = {{"H", 1058}, {"L", 10}, {"M", 1}, {"N", 30}, {"P", 41}, {"Q", 141}, {"R", 107}, {"S", 86}, {"T", 155}, {"V", 588}, {"W", 489}, {"(Y)", 177}, {"Y", 66}, {"Z", 70}};I have a bunch of data as shown above and I want to create a...
I'm trying to write a string parser for a specific task and have made good progress, but one modification seems to cause problems I don't know how to solve. In the following, I need to pull out the " 89S" part and the following code does this: ...
I think you want this: In[14]:= Cases[set1, HoldPattern[_ -> "green"]] Out[14]= {"tree1" -> "green", "tree3" -> "green", "tree7" -> "green"} -Jeff
Well, I found that changing the RegEx to use: In[66]:= StringCases["700x35", RegularExpression[ "(\\d+(?:\\.\\d*)?)(/|x|X)(\\d{1,3}+(?:\\.\\d*)?)(\\s*([a-zA-Z])?(R|D|B|r|d|b)?)[\\s*-]?(\\d+(?:\\.\\d*)?)"] :> {"$1", "$2", "$3", "$4", "$5",...
One possibility would be to try using Panel in back of all tab contents and make sure the Panel spans the full size of each tab: [mcode]TabView[{Panel[ Plot[x, {x, 0, 1}, ImageSize -> 200, Background -> Green], ImageSize -> {400, 300},...