All Questions

35 votes
3 answers
13k views

How to export large graphics?

I'm using Raster to create large graphics (1000 by 1666), which I want to Export as a JPEG or TIFF in a resolution that can be printed in a large size, 3' by 5'. I'...
stopple's user avatar
  • 1,161
35 votes
2 answers
2k views

What are recommended guidelines for developing packages?

This might be of general interest – I have different questions regarding naming conventions, contexts, subcontexts, shadowing, etc., but I do feel that they are closely related, thus I don't really ...
István Zachar's user avatar
21 votes
1 answer
2k views

How do you use ssh-keys instead of a password to run a remote-kernel over ssh?

On all of the servers that I regularly interact with, I have ssh-keys setup for passwordless access via ssh. Yet, every time I attempt to start a remote-kernel over ssh, I get asked for a password ...
rcollyer's user avatar
  • 34.1k
23 votes
5 answers
1k views

Reassign values to symbols

I've got a situation where I have, say 4 symbols, a, b, c and ...
Mitchell Kaplan's user avatar
18 votes
4 answers
4k views

How to get actual triangles from DelaunayTriangulation[]?

The ComputationalGeometry package has a DelaunayTriangulation[] function. It returns a list of points connected to each point, ...
Szabolcs's user avatar
  • 236k
20 votes
3 answers
2k views

Efficient way to combine SparseArray objects?

I have several SparseArray objects, say sa11, sa12, sa21, sa22, which I would like to combine into the equivalent of {{sa11, sa12}, {sa21, sa22}}. As an example, I ...
b.gates.you.know.what's user avatar
85 votes
9 answers
7k views

Updating Wagon's FindAllCrossings2D[] function

Stan Wagon's Mathematica in Action (second edition; I haven't read the third edition and I'm hoping to eventually see it), demonstrates a nifty function called ...
J. M.'s missing motivation's user avatar
11 votes
2 answers
899 views

Move the cursor in a notebook using the keyboard

How can I move through a notebook using only the keyboard? If one tries to use the arrow keys, the cursor tends to get "trapped" in comments and error messages.
Phira's user avatar
  • 755
14 votes
5 answers
597 views

Is it possible to cause a notebook to be hidden when pressing the close button?

Is it possible to cause a notebook to be hidden (Visible -> False) instead of closing it when pressing the close button in the title bar? The ...
Szabolcs's user avatar
  • 236k
6 votes
1 answer
505 views

Implementing local complements of graphs

I'm trying to write a routine which generates the local complement of a graph at a vertex. For those who don't know, the local complement for a singly-connected, undirected graph is defined as the ...
celtschk's user avatar
  • 19.2k
8 votes
1 answer
1k views

Easiest Way to Use ShowGroupOpener in Mathematica

I currently edit manually the cell contents of a notebook (Ctrl+Shift+A or Cmd+Shift+A) to "recycle" cells containing the ShowGroupOpener option. Is there an easier way to create documents hiding ...
Ruben Garcia's user avatar
7 votes
1 answer
323 views

Setting up TextStyle with initialization cells in Mathematica 6+

It used to be quite straightforward to change the default settings of a notebook in terms of inputs, outputs, text styles and font sizes in previous versions of Mathematica using initialization cells ...
Ruben Garcia's user avatar
6 votes
1 answer
513 views

How to simplify expression and use HoldForm at the same time?

Hopefully a simple problem for the experts here. I have a need many times to build a symbolic expression for an equation (say a PDE) to use for plot labels in a low level function inside ...
Nasser's user avatar
  • 147k
47 votes
2 answers
1k views

What is the most effective way to setup a Notebook with transparent background but solid contents?

I know there is a Notebook option WindowOpacity can be used to adjust the opacity of a whole notebook. But what I want is keeping the text and graphics and so on ...
Silvia's user avatar
  • 27.6k
14 votes
2 answers
377 views

Tuning ParallelMap when IO and computationally bound

I'm currently doing work on processing a number of images taken frame-by-frame from a video. As a result, I have a directory of around 16K PNG images that at most ~300K. That said, I have a routine, ...
casperOne's user avatar
  • 469

15 30 50 per page