wb_view is the only way for workbench to set up how to view that matrix.
Load the file, and change the view type to "chart", and select "matrix" for
chart type if it isn't already selected.  As with any other display in
wb_view, you can capture the image with "file->capture image...".

Because you specifically asked about wb_command, and not just how to view
it in general, I mentioned the capability to save this view setup with
wb_view to a scene file, which can then be captured to an image with
wb_command (which can be done in a script, rather than needing to click on
things to capture an image), which can be useful for certain purposes, but
takes some additional setup and trickery to be more useful than just
manually capturing what is shown in wb_view.

Tim


On Fri, Dec 16, 2016 at 11:36 AM, nailin yao <[email protected]> wrote:

> Hi Tim,
>
> I don't quite get it. What I want to do is to plot
> output_correlation.pconn.nii file as a 180*180 correlation color matrix for
> viewing . If wb_command can achieve this, may I know the exact wb_command I
> can use to generate the scene file or image file? Or is there any tabs on
> wb_view can execute this? Thanks!
>
> Best,
> Nailin
>
> 2016-12-15 17:41 GMT-05:00 Timothy Coalson <[email protected]>:
>
>> If you make a scene file that shows the plot, wb_command -show-scene can
>> make a capture of it to an image file.  However, you'll need to use some
>> tricks to be able to swap out the data file if you want to capture multiple
>> plots without manually creating more scenes.
>>
>> If you want to make a figure that includes such plots, take a look at the
>> tile tabs and annotations features in wb_view, as it can manage a lot of
>> the multipanel, arrows, external images, and text figure layout that is
>> often done with photoshop or other image editing software.  These can be
>> saved to scene files for ease of later tweaking or fixing with reprocessed
>> data.
>>
>> Tim
>>
>>
>> On Wed, Dec 14, 2016 at 11:45 AM, nailin yao <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Do you know if wb_command can directly plot the color matrix of
>>> pconn.nii file? Thank you!
>>>
>>> Best,
>>> Nailin
>>>
>>> --
>>> Nailin Yao,  PhD
>>>
>>> Postdoctoral Associate
>>> Department of Psychiatry, Yale University
>>>
>>> _______________________________________________
>>> HCP-Users mailing list
>>> [email protected]
>>> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>>>
>>
>>
>
>
> --
> Nailin Yao,  PhD
>
> Postdoctoral Associate
> Department of Psychiatry, Yale University
>
>

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to