I wanted to learn how to make palettes, so I've made this bunch.

They are still beta, but I want to share them for cross-platform checking and bug hunting.

The functions aren't mine, and proper credit is included. I've made very few modifications to the original author's code in order to fit the palette programming requirements. A general credit to Szabolcs, from whom I've stolen the palettes' skeleton.

The master plan is integrating all the palettes once they are debugged enough.

Installation instructions for all palettes

You can download the palettes by executing the provided commands. After the download, a new notebook will open. Execute the (palette) code in the new notebook and you'll get something like this:

click on me!

Presto! You (should) see the palette.


First one: Heike's wonderful torn[]

Mathematica graphicsMathematica graphics

Command to download:

NotebookPut@ImportString[Uncompress@FromCharacterCode@Flatten@
            ImageData[Import@ "http://i.stack.imgur.com/bkLIy.png","Byte"],"NB"]  



Second one: Mr. Wizard's answer to the xkcd fly catcher question

You'll need to install this font first.

enter image description here

Command to download:

NotebookPut@ImportString[Uncompress@FromCharacterCode@Flatten@
            ImageData[Import@ "http://i.stack.imgur.com/RJueG.png","Byte"],"NB"]  



Third one: the generator for the download method used in the previous ones

A related discussion here (See Sjoerd's and my answers).

Warning: I've got mixed reports on this one. AFAIK it worked at least for Sjoerd and me (Win$). Linux and Mac users reported problems. Download it only if you agree with the potential usefulness of the method and you wish to help debugging.

Command to download:

NotebookPut@ImportString[Uncompress@FromCharacterCode@Flatten@
            ImageData[Import@ "http://i.stack.imgur.com/hjjsf.png","Byte"],"NB"]
share
    
Feedback most welcome! –  belisarius Oct 4 '12 at 12:33
1  
So, you're hiding the palette code in images you've stuck up on imgur? Clever. –  rcollyer Oct 5 '12 at 10:58
    
@rcollyer The main idea isn't about "hiding" it, but about finding a safe place to share files that doesn't fit well in a question or answer, like here. This method hasn't been well received by the community (see Sjoerd's and my answers here), but I find it very convenient sometimes. –  belisarius Oct 5 '12 at 11:41
    
You know I hadn't been paying attention to that conversation. –  rcollyer Oct 5 '12 at 11:49
    
@belisarius Thanks. I downloaded the palettes and will give feedback if anything comes up. –  Markus Roellig Oct 5 '12 at 16:32
    
@MarkusRoellig Will be much appreciated. Enjoy –  belisarius Oct 5 '12 at 16:41
    
@belisarius why don't you add the Upload the active notebook to SE? Is it somewhere else? –  chris Oct 6 '12 at 13:44
    
@chris It's the last one. It uploads the nb to SE and copies the downloading code to your clipboard –  belisarius Oct 6 '12 at 16:35
    
@belisarius It does not seem to work for me. I did get a notebook downloaded; when I run it I get a button "Upload active Notebook to SE"; then I am confused: how can I get focus on any other notebook while pressing this button. In any case when I press this button it says "SEnbUploader`stackImage::err: Server returner error: You didn\'t enter a URL". Could you please guide me through this? –  chris Oct 14 '12 at 20:07
    
@chris Could you provide your OS and Mma version info? –  belisarius Oct 14 '12 at 20:10
    
MacOS 10.7.5 Mathematica 8.0.4 –  chris Oct 14 '12 at 20:15
    
@chris can you come to chat? –  belisarius Oct 14 '12 at 20:15
    
@belisarius I wonder why the AspectRatio of the xkcdified plot is changed. Compare Plot[Sin[x]*Cos[x], {x, -\[Pi], 3 \[Pi]}] with the result which has a very different ratio. –  Markus Roellig Oct 30 '12 at 10:04
    
@MarkusRoellig Yeap. It works well only when both scales are equal. I haven't spend time debugging it, though. –  belisarius Oct 30 '12 at 11:41
    
How's your plot labeling palette coming along? Any chance I could beta test it for you? (Yes, I can make use of it ...) –  rcollyer Nov 12 '12 at 15:31
show 1 more comment

You must log in to answer this question.

Browse other questions tagged .