How to change the colors of color bar in xjView?

878 views
Skip to first unread message

Letty

unread,
May 10, 2013, 1:34:16 AM5/10/13
to xjview-dis...@googlegroups.com
Dear Dr.Cui:
For some reason, I have to change the scale of the color of color bar?How to change the colors of color bar in xjView?
 
Best regards
 
Letty

Xu Cui

unread,
May 10, 2013, 10:08:51 AM5/10/13
to xjview-dis...@googlegroups.com
Letty,

Changing the "colorbar max" value can change the color of the colorbar. If you want to change the color to a totally different color (e.g. green), you have to modify a few lines in the source code, which I am happy to help if you can tell me exactly what you need.

Xu

 
Letty

--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-g...@googlegroups.com.
To post to this group, send email to xjview-dis...@googlegroups.com.
Visit this group at http://groups.google.com/group/xjview-discuss-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

----------------------------------------------------------------
Xu Cui, Ph.D
Department of Psychiatry and Behavioral Sciences
Stanford University
Blog: http://www.alivelearn.net
Profile: http://www.peaya.com/p/?cuixu
----------------------------------------------------------------

Letty

unread,
May 12, 2013, 11:59:44 PM5/12/13
to xjview-dis...@googlegroups.com
Dear Dr. Xu
 
Thank you very much.
I want to change the colorbar to the scale from green to red, is there any way to change it ? By the way , the intensity is all positive...
Sorry to bother you ,thanks again.
 
Letty
 
 

2013年5月10日金曜日 23時08分51秒 UTC+9 Xu Cui:
Letty,

Changing the "colorbar max" value can change the color of the colorbar. If you want to change the color to a totally different color (e.g. green), you have to modify a few lines in the source code, which I am happy to help if you can tell me exactly what you need.

Xu

On Thu, May 9, 2013 at 10:34 PM, Letty <miaom...@gmail.com> wrote:
Dear Dr.Cui:
For some reason, I have to change the scale of the color of color bar?How to change the colors of color bar in xjView?
 
Best regards
 
Letty

--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-group+unsub...@googlegroups.com.

To post to this group, send email to xjview-dis...@googlegroups.com.
Visit this group at http://groups.google.com/group/xjview-discuss-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

carolin...@gmail.com

unread,
Jul 9, 2013, 5:56:45 AM7/9/13
to xjview-dis...@googlegroups.com
Dear Xu, 

I just see that the xjview version 8.111 fix the the max colormap bug.
How can we then invert the color bar next to the overlay? 0 vx is dark red and for example, 8 voxels are visualised in white. 

Thanks in advance, 
Carolina

On Friday, May 10, 2013 4:08:51 PM UTC+2, Xu Cui wrote:
Letty,

Changing the "colorbar max" value can change the color of the colorbar. If you want to change the color to a totally different color (e.g. green), you have to modify a few lines in the source code, which I am happy to help if you can tell me exactly what you need.

Xu

On Thu, May 9, 2013 at 10:34 PM, Letty <miaom...@gmail.com> wrote:
Dear Dr.Cui:
For some reason, I have to change the scale of the color of color bar?How to change the colors of color bar in xjView?
 
Best regards
 
Letty

--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-group+unsub...@googlegroups.com.

To post to this group, send email to xjview-dis...@googlegroups.com.
Visit this group at http://groups.google.com/group/xjview-discuss-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Xu Cui

unread,
Jul 9, 2013, 9:54:54 AM7/9/13
to xjview-dis...@googlegroups.com
Carolina,

Currently you can't invert the color bar in xjview.

But if you are familiar with matlab script, you may search 'gray-hot' and then you can tweak colors to whatever you want.

Xu


Letty,

----------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups "xjView discuss group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xjview-discuss-g...@googlegroups.com.

To post to this group, send email to xjview-dis...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

----------------------------------------------------------------
Xu Cui, Ph.D
Department of Psychiatry and Behavioral Sciences
Stanford University
Blog: http://www.alivelearn.net
Profile: http://www.linkedin.com/pub/xu-cui/9/a47/83b
----------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages