I feel a little bit guilty for coming back to use the blog for my own gain when I’ve not posted anything for a while, but I needed someone more permenant than twitter to ask for advice.
I’m trying to create a way of reliably plotting anatomical data like recording sites onto diagrams of brain structures, rather than exporting pages of a pdf atlas as images then copying and pasting symbols in Illustrator and moving them around until they look like they’re in the right place.
What I had in mind was some bit of code that would take stereotaxic coordinates of points (e.g. recording sites) and an image from a brain atlas and combine the two. The end result will be a bit like this.
I’m learning Matlab at the moment, so I’d planned to stick with that, but it doesn’t seem to deal with importing vector images very easily. My options now seem to be:
- try to plot the recording sites in Matlab at the appropriate scale without the images from the atlas, export the recording sites as a vector image, then combine the two in illustrator
- move back to R, which seems to handle vectors more readily (pdf guide)
Does anyone have any suggestions? Advice?