Giter Club home page Giter Club logo

Comments (5)

mwaskom avatar mwaskom commented on June 3, 2024

I was wondering whether mosaic would allow plotting one image only, not in an overlay setting, yet with the ability to control the color range etc.

Yes you just have to pass the image as both the anat and stat

Second request: is there a possibility to switch from neurological to radiological convention?

No, orientation stuff is a pain in the ass and Mosaic is meant to just be for quickly checking out how things look. The Nipy package has a wider and more flexible set of routines for plotting though if you need that sort of thing.

from moss.

maartenmennes avatar maartenmennes commented on June 3, 2024

Excellent, thanks for the pointers! It worked out (I tried that option
before, but was at that point still fighting with an older seaborn install
which lacked the required cubehelix_palette)

as a follow-up I can't seem to figure out how to use savefig in combination
with plot_overlay? must be my complete ignorance of how classes work...

On Wed, Dec 10, 2014 at 12:25 AM, Michael Waskom [email protected]
wrote:

I was wondering whether mosaic would allow plotting one image only, not in
an overlay setting, yet with the ability to control the color range etc.

Yes you just have to pass the image as both the anat and stat

Second request: is there a possibility to switch from neurological to
radiological convention?

No, orientation stuff is a pain in the ass and Mosaic is meant to just be
for quickly checking out how things look. The Nipy package has a wider and
more flexible set of routines for plotting though if you need that sort of
thing.


Reply to this email directly or view it on GitHub
#16 (comment).

Maarten Mennes, Ph.D.
Post-Doctoral Researcher
Donders Institute for Brain, Cognition and Behaviour
Dept. of Cognitive Neuroscience
Radboud University Nijmegen Medical Centre
Nijmegen
The Netherlands

Google Scholar Author Link
http://scholar.google.com/citations?user=pLlSTVgAAAAJ&hl=en

from moss.

mwaskom avatar mwaskom commented on June 3, 2024

just do like

m = Mosiac(...)
m.plot_overlay(...)
m.savefig()

(or maybe m.fig.savefig I forget if there's a method on the object, but it keeps a reference to the figure it's plotting on)

from moss.

maartenmennes avatar maartenmennes commented on June 3, 2024

Got it (it's late/early here), thanks for the instant customer support!

Cheers,
Maarten

On Wed, Dec 10, 2014 at 12:51 AM, Michael Waskom [email protected]
wrote:

just do like

m = Mosiac(...)
m.plot_overlay(...)
m.savefig()

(or maybe m.fig.savefig I forget if there's a method on the object, but
it keeps a reference to the figure it's plotting on)


Reply to this email directly or view it on GitHub
#16 (comment).

Maarten Mennes, Ph.D.
Post-Doctoral Researcher
Donders Institute for Brain, Cognition and Behaviour
Dept. of Cognitive Neuroscience
Radboud University Nijmegen Medical Centre
Nijmegen
The Netherlands

Google Scholar Author Link
http://scholar.google.com/citations?user=pLlSTVgAAAAJ&hl=en

from moss.

mwaskom avatar mwaskom commented on June 3, 2024

👍

from moss.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.