Jump to content

How can I get this graph look like that picture


Recommended Posts

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)?

post-27338-0-02968100-1342421376.jpg

Edited by edongliang
Link to comment

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:

  • Like 2
Link to comment

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.

Link to comment

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 by ShaunR
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.