edongliang Posted July 16, 2012 Report Share Posted July 16, 2012 (edited) Hi everyone They are two picture (one name is "I want "(call picture 1 in the above),other is "I have""(call picture 2,in the under),) in the attach. I want get the form of the picture 1. They are a lot of different. 1 The background color is different. I want get the color as picture (white). 2 The y legend in the picture 1 have different position, but I can do it. Someone can give me any suggestion?Can I using other method ? Are there other methods draw my picture(like call matlabe)? Edited July 16, 2012 by edongliang Quote Link to comment
Ton Plomp Posted July 16, 2012 Report Share Posted July 16, 2012 Please add your image. You can use the coloring tool (right click) to change colors. Ton Quote Link to comment
edongliang Posted July 16, 2012 Author Report Share Posted July 16, 2012 sorry ! The picture has been added. Quote Link to comment
ShaunR Posted July 16, 2012 Report Share Posted July 16, 2012 With the chart/graph controls you are using; you cannot. You will have to draw it yourself with the picture plots. The picture plots come with VIs for drawing xy graphs, however, they do not expose the grid line type so you will have to edit the sub VI that draws the grid (or draw everything yourself from scratch-which I think you will end up doing eventually to get the same look and feel as the first image). Picture plots are here . You create your graph and draw it like this: You will need to look inside several sub-vis to find the Draw Grid.vi and modify it like so: Then when you run it you get this: 2 Quote Link to comment
edongliang Posted July 17, 2012 Author Report Share Posted July 17, 2012 HI ShaunR : Thank you ! I am a beginer ,so i can not understand your Vi. I donot konw X SCale space Cluster array include what? can you pass me you VI? Quote Link to comment
ShaunR Posted July 17, 2012 Report Share Posted July 17, 2012 HI ShaunR : Thank you ! I am a beginer ,so i can not understand your Vi. I donot konw X SCale space Cluster array include what? can you pass me you VI? The image of the example is a labview snippit so that you can drag the image into a VI. The clusters are just the default clusters if you right click on the terminals and select "create Constant" (apart from I have changed the line colour from yellow to blue). The version of LV I am using is buggy in that it doesn't show the contents of the clusters in the snippit, but if you import into a VI, they will be there. However. I have attached the example as this may be easier for you. You will still need to modify the Draw Grid.VI, as I have shown, since that is a VI shipped with LabVIEW as part of the Plot Graph function and not mine - you will need to modify your locally installed Draw Grid.vi. Quote Link to comment
edongliang Posted July 17, 2012 Author Report Share Posted July 17, 2012 HI ShaunR : You donot attached the Draw Grid.Vi where are the X SCale space Cluster array from? liang You mean that Labview can plot the same look like the first picure. what about DIAdem or matlab? Quote Link to comment
ShaunR Posted July 17, 2012 Report Share Posted July 17, 2012 (edited) HI ShaunR : You donot attached the Draw Grid.Vi where are the X SCale space Cluster array from? I'll leave you to figure that out. I've opened the door. It's up to you to walk through (take the red pill ). You mean that Labview can plot the same look like the first picure. Yes. Although it will be a lot of work for you and you'll really struggle if you want cursors at some stage. what about DIAdem or matlab? I don't use either so I don't know. Try some matlab forums. Edited July 17, 2012 by ShaunR Quote Link to comment
JamesMc86 Posted July 17, 2012 Report Share Posted July 17, 2012 DIAdem can do elements, you probably won't be able make it identical but you can do axis layouts to what you show in the report layouts Quote Link to comment
Ton Plomp Posted July 18, 2012 Report Share Posted July 18, 2012 Diadem can certainly do what you need. (and even prettier using superscript in axis labels). Ton Quote Link to comment
edongliang Posted July 18, 2012 Author Report Share Posted July 18, 2012 ok I will try it IS Diadem can export the picture into the front panel ? And it can ecport into the word ? Quote Link to comment
JoeQ Posted July 18, 2012 Report Share Posted July 18, 2012 Because you can change the colors to transparent and overlay graphs with images, you can get any sort of look you want. Quote Link to comment
hooovahh Posted July 18, 2012 Report Share Posted July 18, 2012 Because you can change the colors to transparent and overlay graphs with images, you can get any sort of look you want. I'm sure you don't need my compliments, but that is a very impressive looking graph. Quote Link to comment
edongliang Posted July 19, 2012 Author Report Share Posted July 19, 2012 Do you plot it in Diadem ? Can you pass me some example like the first picture? 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.