Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Mathematica 10 has a cool new "color data chooser" feature:

enter image description here

My question is: Can you make that window larger? Right now, I can only see 3-4 color schemes at once, even though all 51 gradients would easily fit on the screen at once, if the windows were a little larger, and showed more than one row, e.g. like this:

Labeled[ColorData[#, "Image"], #] & /@ ColorData["Gradients"] // 
  Partition[#, 5, 5, {1, 1}, {}] & // Grid

enter image description here

share|improve this question
2  
@Öskå: I thought questions regarding the current version don't get a version tag? That's how it was handled e.g. on this question: mathematica.stackexchange.com/q/15338/242 (version tag for version-9 was removed by rcollyer) –  nikie Jul 12 at 11:39
    
I have no idea.. :) All the recent question regarding issues with v10 get the v10 tags, that's all I know :) I guess Mr.Wizard could tell you more :) –  Öskå Jul 12 at 12:01
    
@Öskå nikie is right; see also this old meta Q –  rm -rf Jul 12 at 15:02
    
@rm-rf Although I think it would be great to have a tag for all the new stuff coming up with the v10. Like I said, most of the recent questions were tagged, but I've just noticed that you untagged them.. :) –  Öskå Jul 12 at 15:45
    
@Öskå These toys are cool now, but the site is for long-term archiving... they'll be old and standard toys in a year or when v11 comes :) –  rm -rf Jul 12 at 16:24

1 Answer 1

The expression that generates that GUI element is contained in the file:

FileNameJoin[
 {$InstallationDirectory,
  "SystemFiles", "FrontEnd", "TextResources", "ColorSchemeSelector.tr"}]

After making a back-up you can edit that file as you see fit.

I don't have time to dig into it now and make a nice improvement but I confirmed that editing works by changing the fifth line from the bottom to read ImageSize->{500, 800}.

share|improve this answer
1  
Great! I can make the list longer by replacing ImageSize -> {Full, {200}} with ImageSize -> {Full, {600}} in 3 places (for gradient, indexed and physical). But I can't simply make it multi-column, because ListPicker doesn't support that. –  nikie Jul 12 at 11:32
    
Damn! You're Mr.Wizard for a reason. –  seismatica Jul 12 at 21:26
    
@seismatica <|:-D –  Mr.Wizard Jul 12 at 22:58
1  
After playing around with the tr file, I find this works for me: (1) edit the 5th-from-end line from ImageSize->{180, Automatic} to ImageSize->{180, 600}, then (2) using the Replace All utility in your text editor, replace every instances of {Full, {200}} in the file into {Full, {500}}. The first step seems to change the height of the white suggestion box, while the second seems to change the height of the content within that box, hence 600 for the former and 500 for the latter to prevent the content to spill out of the box. All credits to Mr.Wizard and nikie for suggestions. –  seismatica Jul 13 at 0:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.