LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

axes color for graphs

My problem is specifically with the X-Y graphs, but I think it applies to other graph types also.  I know how to change the color of the grid lines (major and minor), but what about the X-axis or Y-axis itself.  I am stuck with thin yellow axes when I would like thick black ones.  I have found no way to change the appearance of the actual axis lines.  Ideally, my graph would have thick lines as a box around the plot area, but I have not found any way to accomplish that.  Any ideas, or must I use cursors or extra data to trick the graph into doing this?
BJ
0 Kudos
Message 1 of 10
(4,751 Views)
Hi,
use shift+right klick there you can find the brush tool. With this you can change any color in your graph. But I'm sure there are more sophisticated ways to do that (maybe with a property node?).

Mike
Win XP, LabView 8.20
0 Kudos
Message 2 of 10
(4,736 Views)
I do know about the right mouse click options, but the original problem remains.  I have never been able to find the proper place to click to get the chance to affect the color of the axes.  Is there something I am missing?  Again, I am not talking about changing the color behind the graph nor the border color around the plot area that belongs to the graph, I am talking about the axes at the top, bottom, left, and right of the plot area.  I can change the color of the lines in the body of the plot, but not the ones at the edges.
0 Kudos
Message 3 of 10
(4,732 Views)
Hi,
sorry, I misunderstood you with that. I'm not sure you can change those lines since they seem to be something like a 3d-look-feature...maybe some of the older around here knew something...

Mike
Win XP, LabView 8.20
0 Kudos
Message 4 of 10
(4,727 Views)
Well, saving it to a JPG didn't do it any favours, but check out the attached picture.  If you edit the control you are able to change the colours of the tick marks.  Just right click ->Advanced->Customize.

Then you're free to colour as you wish!



EDIT: Ahem, I think I may have misunderstood your question...  post a pic of what you're looking to do if I'm way off (and if I am I apologize!)


Message Edited by Will.D on 12-11-2006 02:11 PM

0 Kudos
Message 5 of 10
(4,725 Views)
Here is an example of a graph that has been made largely white to be printer friendly, but I can't get the axes to be a thick black line. BJ
0 Kudos
Message 6 of 10
(4,707 Views)
Hi BJ,

I spent some time modifying a Waveform Chart and was unable to find a way to modify the thickness of the axes. From experience, if there is no property node which controls the desired property there is no way to modify it either programatically or otherwise. A possible workaround is to use Picture Control to create a custom graph with your necessary thickness. Cheers.

Michael K.

| Michael K | Project Manager | LabVIEW R&D | National Instruments |

0 Kudos
Message 7 of 10
(4,682 Views)

".... there is no way to modify it either programatically or otherwise."

How about this?

I did a

customize,

blow torch,

copy to clipboard,

paste in paint,

make a thick border,

copy to clipboard,

back to editor,copy from clipboard.

Done!

Ben

Message Edited by Ben on 12-12-2006 03:53 PM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Download All
0 Kudos
Message 8 of 10
(4,675 Views)
Hi Ben:That looks pretty good, but is sure a long way around the barn for something that seems kind of like an obvious thing to want to do.  I will try it out, especially with varying scales.  Where I will be using this, there is a wide range of values to accomodate at different times, so I want the lines to move as the number of digits on either of my two Y scales changes.  Wish me luck.  Thanks for the suggested workaround.
BJ

0 Kudos
Message 9 of 10
(4,659 Views)

you can plot four extra plot corresponding to the border of your xy graph and change line thickness and color as per requirement. Don't forget to hide legend for extra plot using property node.

 

That is working for me.

 

Thanks

ASHISH
INDIA
0 Kudos
Message 10 of 10
(3,146 Views)