Dear List,
Does anyone know how to find out the index of a point
in a XY graph?
Thank you.
Irene
=
Irene He
www.geocities.com/irene_he
www.hytekautomation.com
placed near the point. In either case, you get an index of the point
in the graph closest to (A,B).
David
Dear List,
Does anyone know how to find out the index of a point
in a XY graph?
Thank you.
Irene
=
Irene He
www.geocities.com/irene_he
www.hytekautomation.com
--
David Ferster
Dear David,
Thank you for your reply. That was a good math lesson though :-). I believe
your method would work too. Someone sent me a vi, just using the property
node of the XY graph, there is a property called Cursor.index would
directly output the index. So I guess LabVIEW has done all the hard
I have an XY graph that has gas chromatography peaks. How can I label
the peaks with text information instead of point style or other legend
indentifiers.
Place a cursor/marker on the graph, hide the lines, maybe the point,
show the text, and set its text to whatever you like.
To do
I have an XY graph that has gas chromatography peaks. How can I label
the peaks with text information instead of point style or other legend
indentifiers.
Hi!
I have a XY Graph and I wnat to get the number of Plots in that Graph.
There is no Property for this.
Anyone knows how to do this?
Bya
hmann
hi
i don't know, but try it with the array size function... a xy-graph
is a 1d-array of clusters. in these clusters there are two 1d-array
which represent x and y coords. the array size function should
return the number of plots (clusters) of the xy-graph try it and
let me know if it works
Under LabVIEW Help, click Find Examples, then search for XY
Graph. It shows examples of different types of plots.
Les
Lai, Ann wrote:
Hi,
I am trying to use an XY graph to graph sets of data. The data are
output inside of a while loop, 32 points at a time (x, y) where x is
from 0 to 32 and y is from the points on the scope. I want to graph
it so that there will be different lines. I tried to use the shift
Hi!
I had to finish this yesterday so I just changed it to fixed colors.
bye
hmann
Hi!
I have a XY Graph with 2 plots. For screen displey I have the Graph
with black background color. But for printing I set the BG-color to
white and the Plot colors to black.
Before changing the Plot colors I save the colors with a property node
(setting active plot and reading plot color
There's a number of things that could be going wrong here - could you
please post your VI so we can have a closer look?
Hi!
Maybe I'm just too stupid but I can=B4t get my XY Graph saved as a PNG
image. I already read lots of other threads. Maybe it=B4s because I=B4m
using LV 7...
Maybe someone could make a sample VI?
thanks
hmann
Hi,
If you need to save the image of your control then look A
HREF=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=137HOID=506500050015010100HTHREAD=65813UCATEGORY_0=_49_%24_6_UCATEGORY_S=0;here/A,
where I described how to do it. There is an example which saves the
I can't use this format by programming for the scale name with labview
6.1
Thanks but can I progam the time format like this : dd/MM
hh:mm
Hi!
I have a xy graph with 3 graphs and 3 scales. Whenever I zoom in and
then go back to full view one of my scales switches from a fixed
scale to autoscale. The others stay fixed.
Anyone knows what this could be?
bye
hmann
Yes. The LabVIEW Help explains what each part of the format string
means. The help on the Format Date/Time String function explains
this best (Go to Help Menu, select VI, Function, How To, then type
Format Date/Time String into the Index tab.
For
Days/Months
Hours:Minutes
use
%d/%m
%H:%M
Shawn
Maybe in the program : Scale fit properties from the graph variable.
0 for Fixed
2 for Autoscale
Hi everybody
I want to modify the custom date format and the custom time format of
XY graph by programmation
Is it possible ?
I want to have program control over my graphs Y axis scaling and
min/max values. - I cant do this with graph or chart displays, but
should apparently be able to do it with an XYgraph display.
My input data is a 1D numeric array, (voltage measurements taken by a
piece of laboratory kit at regular
No need for an XY graph in this case; just wire the array to a graph
and if you want to zoom in on something programmatically you can
control the min and max, scaling and pretty much everything else using
a property node (just right-click on the graph, select create property
node and then click
I am trying to plot a vertical line on a XY Graph containing several
unevenly sampled plots. I don't want to use a cursor. Has anyone run
into this situation? Is there any way to do it using just one point
(X)?
Thanks
Sure. On the plot that you want to have the vertical line, right click
the plot legend and select Bar Plots (pick the style you want) and
then Fill Base Line (pick the fill style).
Thanks but I need to have a line from top to bottom
That might work, thank you very much
Hmmm...
It looks to me like you should be able to as if you'll look under XY
Graph Properties-Plots, each plot has a drop-down list of items
specifying the Y-Scale and X-Scale that the current plot is using.
The only problem is, each list only contains a single item - either
the current X-Scale
Right click on the Y scale and select Duplicate Scale. You can keep it
on the left side or right click again on the scale you want and select
Swap Sides. When you have a duplicate scale, the next thing to do is
to associate that scale to a specific plot. In the plot legend, right
click the plot
Thanks Dannis, it's exactly what I was looking for, but now I have another
question: I'm trying to set both Y scales from the block diagram with
property nodes, but I can't find a way to set two different Min and Max Y
range for each plot. Any idea to do that?
Finally there is a way to set
thanks for your ans.
hi all experts
i need your help.
i want to plot multiple graph, on a single xy graph
i want --if user want to plot a new plot
user will place new button,give value of parameter using
control,do needed operation .
then press button name as plot.
on button click user must see all
You need use the build array function to append the new plot to the
previous plots. Help - Find examples has some good examples.
-Joe
hi
while searching for my problem of clearing graph,
i got your ans.
i am very new to labView,i have labview7
i don't understand
what is this
cwgraph1.cleardata
please give tell me indetail
thanks in advance
shital
it's just a property node. like if you were to run a macro then look
at the code for it. this is what it would look like. Just do what A
rafiq said and you'll be fine.
br
One quick trick is to use a second transparent graph and lay it on
top of the original one. You can make the graph transparent using the
color picker tool and selecting the T in the top-right corner of the
color palette. You will also have to hide all the visible items for
this transparent
Thanks for your input, Jeremy. Without it I'd still be confused about
what Khalid had suggested. Having someone else say he was right on
the money clued me in that I must have misunderstood.
Sorry for not being clear earlier.
About keeping the two graphs in sync, one approach would be to use
property nodes -- read properties from the one which the user modifies
and write them to the other one.
I agree it still will not be a very clean solution.
Regards,
iKhalid/i
br
Was just wondering.. in that case you may want to keep your original
graph on top and make it the transparent one. All user actions would
then be associated with this one now.
Again, this still is not a clean solution :)
iKhalid/ibr
You can control these things using property nodes. The first thing to
read is Chapter 17 Programmatically Controlling VIs of the LV user
manual. Second, search the help for properties. You will find a
bunch of shipping examples on how properties can be used.
You cannot reorder the layering of the plots. More percisely, the
ordering of the plots (like on the plot legend) is the ordering of the
layering.
Khalid is right on the money for a workaround. I give him 4 stars.
Hi Liz, thank you for your comments. The shift registers have been
incorporated. I used to think shift registers were used for sending
data between control loops. I can see the value of reducing variables.
Learning something every day...
Dave J.
check if this entry, EnableAutoscales=False, is present in labview.ini
(in labview directory). Change the False to True if it is there.
Joe
Sometimes the charts and graphs become so customized that they stop
working properly. This happens all the time and you will save
yourself hair loss and heartburn by just placing a new one and
starting over (like you suggested).
Good luck with your code.
sorry see my earlier xy graph axis font post for the details but what
I really want to do is change the size of the font.
thanks.
for you.
Happy wireworks
Urs
Us Lauterburg
Physics demonstrator
LabVIEW wireworker
University of Bern
Switzerland
Dear list,
I have a multiplot XY graph. Is there a way to make all plots blink?
(the 'binking' property seems to work only for the 1st plot).
also, is there a way to change the line
Well not exactly like Excel but Excel cheats and limits you to 65535
samples in a plot!
The built in functionality you should investigate is the cursor
legend. That is available from
showCursor Legend
You can resize the cursor legend as you see fit.
The cursors can be set to snap to a point on
I am using LV6.1 with Win2000. I would like to have the mouse pointer
show the value of a point on an xy graph like Excel does. Is there a
way to do this?
I am plotting an XY graph (X for time and Y for an amplitude). As i
plot this graph the whole set of points are presented.
I wish i could present the graph, reducing the X axis width(10 seconds
width) and iterate to plot 10 sec to 10 sec(segments of 10 seconds).
one problem is time values
Hello Dancrilly,
Thank you for contacting National Instruments.
Would you post a screen shot of your XY Graph with the boundary
pasted? If you could post the boundary and VI separately, that would
be helpful as well.
Sean C.
Applications Engineer
National Instruments
matlab has worked out unique boundaries for my particular application.
now i want to transfer these boundary lines onto an xy graph in
labview.
so far i have been able to paste the boundaries on but then my results
from the ladview programme do not show up on the graph because i have
pasted
I cannot do much for an explaination--it is just the way the graph
works. I speculate that the cursor is part of the graph but it is
treated separately. By mousing down and moving the cursor, the UI
thread is locked by the cursor code. This prevents other events from
firing like mouse move. If
ELCA,
Thank you for contacting National Instruments.
In addition to Cult of Nurse's advice, there is also another post with
an example VI that may be of help. I have linked that post below:
I put tens of cursors on X-Y graph using property node. Also. I used
the names of the cursors as some indicators. Is there a way to decide
the position of the cursor name? e.g., like using the property node.
Presently, I adjust the position menually one by one.
I am not talking about the position
of X values and one with Y values bundle the two
arrays (X first, Y next) and feed it to the XY graph.
I have a XY graph with the X data spaced every 0.2 (0.00, 0.20, 0.40,
etc.). After I display the graph I use the curser to manually (by eye)
find the inflection point in the curve (ex. 1.46). I would like the
software to determine the inflection point on its own, but LabView
only sees the array
Sorry, I meant bthreshold array.vi/b also from the array
palette. You migh need to multiply the array with (-1), depending on
the sign of the slope in the region of interest.
There are two ways to do it. You can bundle an array of X values with
the array of Y values and then build an array of such clusters, OR you
can bundle the X and Y values so that you have an array of XY clusters
and bundle the whole array to get a cluster with that array and then
build an array of
57 matches
Mail list logo