How to get bar plot stacked in one graph?
Hi there,
I am having a problem trying to get a stacked bar plot in one graph. I attached two images to show you what it looks like now and how I would like it to look.
At the moment I am making two x,y clusters, bundle these into an array and give that as input to the XY graph. This gives me the image where the bar plots are shown next to each other. However, I want them to be shown on top of each other and I cannot find a way to do this.
I searched this forum and the help and looked at the available properties for the XY graph, but it seems impossible. So I was wondering if anyone here is able to help me solve this.
Thanks in advance,
Steph.
Attachments:
current.png 7 KB
wanted.png 10 KB
Thanks! Maybe I am not understanding the terminology and a "stack graph" may not be what I am looking for, but here is my small example.
DATE
DATA 1
DATA 2
1/2008
3
4
2/2008
4
8.5
3/2008
6.58
38.9
I would like to do a bar graph where DATA 1 AND DATA 2 overlap each other like Steph's example of a stack graph.
and the "DATE" will be on 'x-axis' while data 1 and data 2 will be values show on the y-axis. (Note: data 1 will always be data 2, it will show up with two colors where one color is always taller than the other).
Is this stack graph the right path? I am new at using the graphing icons in Labview, I do not even know how to I would go about loading these as inputs to the VI.
Please advise me on the right path. Thanks again!
Eileen
Similar Messages
-
How to get bar graph in word in labwindow/CVI ?
how to get bar graph in word in labwindow/CVI ?
ashwinic9,
spawning your question over more and more threads (the present one, this one and this other one) won't give you a faster answer; instead, it will irritate forum users!
Especially if you have at your disposal a fast way to perform a test. I pointed you some days ago to word report example, that writes a table to a word document: did you tried changing the graph into a bar graph and generating the report? I have done it for you and the result is OK, as you can see in the attached document.
Now, since the example works well, there must be something in your particular situation that prevents the graph to be shown; that is: you must add some more data on your actual problem and maybe a small example that exposes the problem.
But please: keep active only this discussion and let the other threads die!
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Attachments:
wordreport.doc 38 KB -
How to get all the values in one column of a JTable
How to get all the values in one column of a JTable as a Collection of String.
I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column.I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column. You could always write a custom TableModel that stores the data in the format you want it. It would probably be about 50 lines of code. Or you could write a loop in 3 lines of code. I'll let you decide which approach you want to take.
-
How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?
If you bought a CC for team, you can log in at http://adobe.com and insert the e-mail that you gave at the moment at the purchase and than you can manage and see you product/plan/team.
If I was not clear you can use the following link to help you solving your issue:
Creative Cloud Help | Manage your Creative Cloud for teams membership
If your not clear about this situation, contact with an agent of Adobe, by chat or phone. Use the following link to see the type of support you have on this matter:
http://adobe.com/getsupport
I think this will help you.
Regards -
HT202060 How can I make Activity Monitor show one graph instead of four for MacBook Air?
How can I make Activity Monitor show one graph instead of four for MacBook Air?
Learn about OS X: Activity Monitor shows one CPU Usage graph on systems with more than four cores
Copied and pasted from top of the page. -
How to show and hide plots which are stacked and plotted on the one graph?
I am currently designing a Logic Analyser with 8 channels. These are plotted on a graph, stacked on top of each other. The user is able to select which plots he/she wishes to examine (i.e 1,4,6). I need to figure out how to hide the plots not required and show the plots needed.
Hi,
Did u say stacked?? then you must be using a chart not a graph
Nevertheless, as Unclebump has suggested, here is a Vi to give you an idea on how to use active plot and visible property nodes
Build on it to hide/show plots
Regards
Dev
Message Edited by devchander on 01-24-2006 06:09 AM
Attachments:
plot.vi 176 KB -
How to get line plot in front of bar plot
Hey Guys,
How can I plot the moving average in front of the bar plot?
This is an X,Y- plot of two arrays of data.
Cheers,
San
Solved!
Go to Solution.
Attachments:
untitled.jpg 388 KBHi Sannie,
change the order of the plots. Your RunAvg should be plot0, while the barplot is plot1…
There's a reason, why BMPs are banned in the forum: their size! Please convert your images to (real) JPG or (even better for FP or BD images) PNG before posting them!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Stacked Bar Plots in Mixed Signal Graph
Is there a way to have a stacked bar plot compiled and displayed in the mixed signal graph indicator from multiple plots as inputs?
I think we are getting closer but I do not see what I would expect in a stacked bar graph in excel. Please take a look at the data in the array in column 525. It has more than just qty 2 of the value 1 in many of its cells. Hence I would expect to see a spike greater than 2 which is what I see on the chart that you provided. I did the task in excel and it was easy to do and have attached it for your reference. It is the same data that I provided above in the prior vi.
Attachments:
stacked column chart.xlsx 110 KB -
How to get a value from select one choice (created by static view)
Hi,
Whene ever Iam trying to get value from select one choice which is created by static view iam getting only index.How to get the actual value in 11g .please help me anybody .Thanx in advance....
Edited by: 874530 on Jul 22, 2011 11:05 PMThnax for your quick reply..
Iam using 11.1.1.3.0 version.
My code is
<af:selectOneChoice value="#{bindings.DenialLevel.inputValue}"
label="#{bindings.DenialLevel.label}"
required="#{bindings.DenialLevel.hints.mandatory}"
shortDesc="#{bindings.DenialLevel.hints.tooltip}"
id="soc2"
valuePassThru="true"
binding="#{backing_denialcomment.denialLevelList}">
<f:selectItems value="#{bindings.DenialLevel.items}" id="si6"/>
</af:selectOneChoice>
and in bean am not able to get value of attribute .Iam getting only index... -
Need to know how to get it back to its original Download Stack. Previous answers to this questionin Apple Support just don't make any sense to me. I'd appreciate explicit directions on how to restore this feature. Currently it's just a Download folder... must have accidently poofed it away.
Help!And if what WZZZ suggests doesn't work (and hopefully it will) move the file name below to the desktop, log out or restart and the Dock preferences with its defaults should be recreated. You'll need to re-configure it as you like it:
com.apple.dock.plist
It's located: in Finder hold the Alt/Option key and from the Go menu select Library>Preferences.
If it fixes things, delete the file on your desktop. -
How to get a value for Select One Choice in the backing bean
Friends,
Does any one have any idea, how to get the value of a selected item value from the Select One Choice component in the backing bean iin valueChangeListener method. Right now I am always getting the sequence of the selected item, instead the actual selected value. I tried using 'ValuePassTrhough=true' also.. but didn't help
Below is the my code snippet
<af:selectOneChoice value="#{bindings.country.inputValue}"
required="#{bindings.country.hints.mandatory}"
shortDesc="#{bindings.country.hints.tooltip}"
id="soc1" autoSubmit="true" valuePassThru="true"
valueChangeListener="#{pageFlowScope.Bean.onValueChange
<f:selectItems value="#{bindings.country.items}" id="si2"/>
</af:selectOneChoice>
Thanks in advance.check my other post at Re: Pass data from a variable to another page
-
How to get video of more than one security camera in java
I want to get video from more than one security cameras and i really donot know yet how we do this that get videos continously with more than one camera
olz i a beginner help meHello.
I don't know if the topic still matters, but as I took advantage from the information in the preview posts, I decided to give my share.
I successfully ran three webcameras at the same time in a Linux machine with JMF.
The two main issues are:
1. It is necessary to run the binary "jmfregistry" ($JMFHOME/bin/jmfregistry) to detect the cameras every time a new one is added to the system. (Remember to run the binary with a user with write privileges on the registry file ($JMFHOME/lig/jmf.properties)).
2. It is mandatory to plug each camera in a different usb bus. In my case, the PC I was using had three accessible two-ports buses, two in the rear and one in the front of the box. If we try to use two cameras in the same bus, one of them won't work or the detecting procedure in the "jmfregistry" program will hang.
I hope it helps. Any question, please feel free to ask.
Andr� Braga
My configuration:
Java:
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
JMF-2.1.1e_linux_native
The machine:
OpenSuse Linux version 10.2 (kernel 2.6.18.2-34-default)
running in a Celeron D processor 2.66 GHz
Motherboard: Giga-byte GA-8IPE1000 Pro2 motherboard (865PE)
The result of the "lsusb" command:
Bus 004 Device 004: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 023: ID 0c45:6007 Microdia
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 004: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 003 Device 001: ID 0000:0000
In time (for linuxers): It was necessary to download and install the gspcav driver (http://mxhaard.free.fr/). It is also necessary do load this driver before the camera driver:
modprobe gspca
modprobe zc0301 (this one comes with the distribution) -
How to get majority of speed on one device
I have multiple devices on the e1200 router and i am trying to figure out how to get majority of the speed on one device.
And give all the other devices low speeds.
help?
Solved!
Go to Solution.Hi Capo202, you can try to use the QoS settings of the router. Just access the setup page of the router and look for this page http://ui.linksys.com/files/E1200/2.0.00/qos.htm. Hope this can help you.
-
How to get the complete Stack-Trace ?
Hi,
I'm getting the following error on the screen.
oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO OTA.OTA_QUESTIONS(QUESTION_ID,TEXT,ALLOW_HTML_FLAG,OBJECT_VERSION_NUMBER,BUSINESS_GROUP_ID,START_DATE_ACTIVE) VALUES (:1,:2,:3,:4,:5,:6)".
I want to get the complete stack-trace. I turned on the screen log, but still not getting the error-stack. Can anyone lemme know, how to get the complete error-stack ? This error is raised from a seeded page.
Thanks,
Guna.This is a developer raised exception and not a standard expection(depends on a profile), that is why you cannot see the error stack.You have to put system.out.println, to debug.You get such errors when there is some fundamental mistake and not framework exception.
As the error says look into the query and see all bind variables are setting properly.
--Mukul -
Magic Packet - How to get my router to send one
I have the Quantum Gateway 1100 router. I have a NAS Server on my home network. The NAS server has the capability to Wake on LAN if the router can send that packet. Can anyone tell me how to get the router to send the Wake-on-Lan packet to the server. FIOS Tech Support is completely and totally useless.
Hi,
You can do a fresh installation using the installer bits available at the following link/location Download CS5.5 products
For suites, you need to download and copy both .7z and .exe in the same folder. Clicking .exe will extract all relevant installer files. You can then install the suite. Use your existing Serial number when prompted.
regards
Aj
Maybe you are looking for
-
Display of FI document before posting MIGO
Dear All Is it possible to see FI document before posting MIGO? regards Sanjay
-
Inconsistent compression with Deflater/Inflater
I try to (un)compress some data using the (In)Deflater class. I want to have GZIP compression, so I set nowrap to true. The javadoc for the Inflater class says something mysterious like "Note: When using the 'nowrap' option it is also necessary to pr
-
I was in server management studio doing some work and I notice, but can't remember now what, but I lost some basic functionality like not being able to right click and get my context menu and this affected all programs. I did a restart and the proble
-
How do I remove adobe as my default setting to view PDFs?
how do I remove adobe as my default setting to view PDFs?
-
500 Internal server error WRT54G2
Hello everyone, I have a problem with my router, WRT54G2. I was upgrading my firmware when my computer froze up, so I had to exit. Afterwards, I could not connect to the web based setup page anymore. I did a factory reset and installed it again with