Melbourne Posted July 20, 2009 Report Share Posted July 20, 2009 Hi All I would like to create sets of text lables that can be placed on standard Labview graphs (or X-Y graphs) that can rotated to any arbitray angles and/or positions in the graph's drawing space. I have used the standard "Draw Text At Point" and also the "Draw Text In Rectangle" features, but these do not seem to allow the text to be tilted over at say a 45 degree angle. Has anyone a method for achieving this please (have attached a pic of the type of thing I would like to do)? Thanks & cheers Quote Link to comment
Yair Posted July 20, 2009 Report Share Posted July 20, 2009 There's a VI here for rotating a picture, but I don't know how good the text will look if you don't render it directly. You might wish to use a bold font. Quote Link to comment
vugie Posted July 23, 2009 Report Share Posted July 23, 2009 You might be also interested in this solution. Quote Link to comment
Melbourne Posted July 27, 2009 Author Report Share Posted July 27, 2009 After attempting to create a method of placing diagonal text on graphs/pics etc I have found that the Labview has an apparant issue with its coloured background occurs during the processing of the "Draw Flattened Pixmap VI". This means that when placing rotated text on a picture or graph the background block of the text appears in black blanking out that section of the picture behind it. Here is a set of simple vi's that permit diagonal text to be placed on Graphs/Charts/XY Graphs and pictures with transparent Or coloured) backgrounds. Kudos to posts by vugie and his Bitman library which form the basis of the vi's. You must download and intsalled the BitMan library before using the Diagonal Text library examples. Quote Link to comment
Melbourne Posted July 27, 2009 Author Report Share Posted July 27, 2009 file failed to attach with last post: here it isDiagonal Text.llb Quote Link to comment
Anil Reddy Posted September 14, 2009 Report Share Posted September 14, 2009 could you please post your code in LabVIEW 8.5......am also looking for this kind of solution....... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.