I have two problems I am working on. I have a mfile that I am running and I want to show some plots of the data I am using in the mfile in a GUI which has 3 different axes. My first problem is determining how to send the data to the desired GUI axes. I tried finding the handle for the axes I want but am only able to determine the handle for the GUI. Since I haven't been able to do that I still don't know how to actually update it with the most recent plot. The second issue is that I want to be able to use the GUI to change variables in the mfile while running to alter the filter I am using to the new parameters. So I need to be able to address those and update them with new values. Any help will be greatly appreciated... thanks ... S ...

I have a time series data; like x(1).data = [1:50]; x(2).data = [1:25] x(3).data = [1:20] dates = datenum({'20090101';'20090102';'20090103'}, 'yyyymmdd') I would like to make a plot, with dates on x axis, and x mean as line plot, and boxes for stdev, and min max also plotted, on the same plot like error bars. Is there an easy way of doing this? Thanks Ed "adam " <adamquestion@gmail.com> wrote in message <h25b03$nri$1@fred.mathworks.com>... > I have a time series data; like > > > x(1).data = [1:50]; > x(2).data = [1:25] > x(3).data = [1:20] > dates = datenum({'20090101';'20090102';'20090103'}, 'yyyymmdd') > > I would like to make a plot, with dates on x axis, and x mean as line plot, and boxes for stdev, and min max also plotted, on the same plot like error bars. Is there an easy way of doing this? > > Thanks > Ed there's no ...easy... way - but it certainly can be done... it all depends on what you mean by ...boxes for stdev... us ...

Hi again, I have been experimenting with MSchart control. I have some date to be plotted as x-axis label. Since the date column date has yyyy/mm/dd hh:mm format, the label itself takes a lot of space. So while plotting I would like to format the label to "d-mmm". Unfortunately I could not do that. Also, I could not change the x-axis major and minor division. I am using chartdata method for plotting. I will very much appreciate any pointer and solution to this. Thanks learnvb wrote: > Hi again, > > I have been experimenting with MSchart control. I have some date to be > plotted as x-axis label. Since the date column date has yyyy/mm/dd > hh:mm format, the label itself takes a lot of space. So while plotting > I would like to format the label to "d-mmm". Unfortunately I could not > do that. Also, I could not change the x-axis major and minor division. > I am using chartdata method for plotting. I will very much appreciate > any pointer and solution to this. > Thanks I believe you will have to format the data in the chart you are plotting to match what you want to show up in the label. There is a way to set the axis divisions, but I don't recall what it is. You will have to experiment with the properties to figure it out. You may be able to get some guidance at the Microsoft MSDN library. They have a complete list of the MSChart control properties there. http://msdn.microsoft.com/library/default.asp Bill Gil...

Hi, In my VI i am using "set graph scale in excel" function to change the x,y axes but they are not getting changed. I want to manually feed the min,max values for x,y axes so that the data to be inserted into the graph should appear according to the x, y axes. How can i do this? For clarification i am attaching my VI "Graph_Decorations" Graph_Decorations.vi: http://forums.ni.com/attachments/ni/170/291656/1/Graph_Decorations.vi I like to use ActiveX directly for this time of action. See picture of code (part of a much bigger vi). The text (gray box) is from the Excel macro editor. I then just translate that into LabView ActiveX code. Set_Excel_Graph_limits.PNG: http://forums.ni.com/attachments/ni/170/291805/1/Set_Excel_Graph_limits.PNG ...

I tried running simulink for 10 seconds. When I tried to plot the data in the Matlab, I do not see the x axis going till 10 seconds, but 40!! It looks like it is factored by a certain scale. I dont remember changing any thing though. Help me please. Thank you!! ...

Resently we upgraded from LV7.1 to LV8.5.1 We created an state machine that execution is controlled by an interpreter that parses text lines. Those text lines are stored in some list boxes so we can easily edit the scripts. Before LV8.X, it was possible to select and copy and paste several lines at once, what makes it handy for use of scripting. Since LV8.X this is not longer possible, you have to select and copy line by line instead a whole block of text. And you have to use cumbersome popup menu commands to add or delete lines. Is it possible to restore the old behavior? I tried the classic list control and even coppied the old LV7.1 list box, but it all acts the same. I even tried to create an editor that read the items from the list box into a text control for editing and writing it back into the list box after Im done. But this makes things even worse: Sometimes I got some development enviroment internal error: "an internal error or crash occured at datasupp.cpp line 555" and I can not read the items anymore even if I see they are there. (Look into the ListBoxError.vi; you will get the error message after running the vi closing LV and opening it again.) PS.: We cant change to text controls to hold the script, since they "forgott" their content (I dont want to use "Make current value default"). ListBoxError.vi: http://forums.ni.com/attachments/ni/170/341704/1/ListBoxEr...

Hi All, I want to plot a figure similar to this one : http://www.ncl.ucar.edu/Applications/Images/unique_10_lg.png Any idea about how to plot Mutiple XY plots attached along one X axes ? thanks, Bo ...

Frank I made two copies of the plotting data and created a new id variable called group. For one set, group='scatter' and the other set, group='box'. I "ditthered" the value of week by adding 0.5 to the x values of the scatter group to move these off the box. I also switched the symbol statements since box sorts before scatter. Nat Wooding data plot; do pt = 1 to 100; do week = 1 to 7; y = RAND('NORMAL') ; output; end; end; run; data plot; set plot; group='box '; output; group='scatter'; week = week+.5; output; proc sort; by group; symbol2 i=none v=star color=green width=4 ; symbol1 i=box v=none color=blue bwidth=6 ; proc gplot data=plot; plot y*week=group; run; quit; Frank <deps_bear@YAHOO. To: SAS-L@LISTSERV.UGA.EDU COM> cc: Sent by: "SAS(r) Subject: scatter plot/box plot Discussion" <SAS-L@LISTSERV.U GA.EDU> 10/13/05 09:31 AM Please respond to Frank I've seen this done before but can't seem to find a good example. The following code outputs a box plot at each week with a scatter plot ove...

I need to save a large number of scatter plots, and I do not want them to be displayed. Right now I have h=figure('Visible','Off'); scatter(X,Y,15,Color); print('-dpng',filename); In addition to getting the error "Warning: RGB color data not yet supported in Painter's mode " It is displaying the scatter plot every time. Does anyone know how to fix this?? ...

I am trying to create a scatter plot with labels which reference arrays other than the plot data. The labels should only appear when the point is selected in the figure. This is what I can get so far (not all of it is original. Sorry, I lost track of the original source during my hunt for an answer): First create a figure update function. Save it as it's own file: function txt = myupdatefcn(empt,event_obj) % Customizes text of data tips pos = get(event_obj,'Position'); txt = {['my custom X: ',num2str(pos(1))],... ['my custom Y: ',num2str(pos(2))]}; --------------- Next create some data and make a scatter plot: fig = figure x = 0.01:0.01:0.5; y = rand(1,size(x,2)); plot(x,y,'o'); xlabel('x'); ylabel('rand y'); % Call custom label dcm_obj = datacursormode(fig); set(dcm_obj,'UpdateFcn',@myupdatefcn) ------------------- Next, click on the 'data cursor' icon in the plot window and select a point to return the label. However, I want the label to display data from another array what does not correspond to the point's position on the plot. For example, a = rand(5) % A 5x5 array where the column number would correspond to the x position, the row number corresponds to y position, and the data inside is what should be on the label. Adittionally, a second item on the label would contain the data from array b: b = rand(5) I hope this makes sense. Thanks for any help! ...

Hi, On my form I have one field of "City", and this in turn needs to effect "Township". When township is selected, the next field is distance, and for every 'township' there are 2 distances available to pick. (i.e. Washington brings townships 1-5, then township #1 has distances of 23Miles or 36Miles). How do I: 1) Make sure when a city is selected, only the townships in that city show up in the next drop down box. 2) Once a township is selected, there are basically 2 options in the next drop down box that should show up. What's the best way to do this? Thanks much!! Howdy: Try searching for 'Synchronize Combo Boxes' in the Microsoft Knowledge Base. The article is different, depending on the version of Access you're using: '97 or earlier: http://support.microsoft.com/kb/98660/en-us 2000: http://support.microsoft.com/kb/209595/en-us 2002 or 2003: http://support.microsoft.com/kb/289670/en-us HTH, Jana http://www.mvps.org/access/forms/frm0028.htm ...

Hi everyone, gnuplot presents different plots for equivalent functions. I have testet it with the following script : --- begin --- set term postscript set output "gnuplot-bug.ps" plot [x=0:600] (x*x/2)-(30/70*x), (x*x/2)-(30*x/70) plot [x=0:600] (x*x/20)-(30/70*x ), (x*x/20)-(30*x/70) plot [x=0:600] (x*x/200)-(30/70*x ), (x*x/200)-(30*x/70) plot [x=0:600] (x*x/2000)-(30/70*x ), (x*x/2000)-(30*x/70) plot [x=0:600] (x*x/2000)-(30/70*x ), (x/2000*x)-(30*x/70) --- end --- I think, there schould only exists small nummerical differences of course there could be different ways of calculation. It occours with "gnuplot 3.7 patchlevel 1" and "gnuplot 4.0 patchlevel 0" on different machines with different distributions. Is it really a bug ? greetings Lars In article <40a3c6b8$0$24798$9b622d9e@news.freenet.de>, Lars Lay <lars.lay@freenet.de> wrote: > >gnuplot presents different plots for equivalent functions. I have testet it >with the following script : > >plot [x=0:600] (x*x/2)-(30/70*x), (x*x/2)-(30*x/70) > >Is it really a bug ? Not a bug, just a misunderstanding. If you want to do floating point arithmetic you need to include a decimal point in your numerical constants. Otherwise "30/70" is interpreted as integer arithmetic, and yields 0. Similarly for all your other constant expressions. -- Ethan A Merritt Hello J�rgen, thanks for the quick a...

Hi I have seen some past posts on this subject but am still none the wiser. I realise one can set the x and y scales manually using the scaling factor tool in graph properties. However what I would like to do is set the scales programatially using an array of x values and array of y values. Is there an easy route to this? Many Thanks Ash ...

I am using usb cam , vision 8.5 , labview 8.0 or 8.2 . i can get the x,y from the serial port and the cam live image. i do not know how to make a x,y cross line in the live image. i want some like this in the attachment untitled1.JPG: http://forums.ni.com/attachments/ni/170/280036/1/untitled1.JPG ...

Hi, I did a small traceroute to a few IP addresses and found a lot of IP addresses having 127.255.255.255 and each instance of 127.255.255.255 belongs to a different AS... Can someone tell me what significance this has? Thanks On Thu, 03 Jan 2008 18:18:21 -0800, Legend wrote: > I did a small traceroute to a few IP addresses and found a lot of IP > addresses having 127.255.255.255 and each instance of 127.255.255.255 > belongs to a different AS... Can someone tell me what significance this > has? Are you aware that Goofle is a search engine? What happens when you put your subject line into their search bar? No. I tried using Google. I know its a loop back address but I've read somewhere that it is used for spoofing. So in my traceroute dataset, I didn't know if I should be bothering about these addresses in the first place. Would you kindly advice me? On Jan 3, 9:45=A0pm, Dave Uhring <daveuhr...@yahoo.com> wrote: > On Thu, 03 Jan 2008 18:18:21 -0800, Legend wrote: > > I did a small traceroute to a few IP addresses and found a lot of IP > > addresses having 127.255.255.255 and each instance of 127.255.255.255 > > belongs to a different AS... Can someone tell me what significance this > > has? > > Are you aware that Goofle is a search engine? =A0What happens when you put= > your subject line into their search bar? On Thu, 03 Jan 2008 21:13:42 -0800, Legend wrote: Top posting corrected. > On Jan 3, 9...

any one knows if there are difference between the commands used on HMC v 3.5.x and HMC v 5.1.X It seems that those commands which we used to move around the resources in the older HMC , doesn;t work on HMC v5.x.x Can some one help . We use ssh to login to the hmc. Even the basic command lslpars also not working Regards RC ...

Dear all, My PIX 501 6.3.5 log shows these errors. Would someone be able to explain what these mean in laymans' terms? 106021: Deny udp reverse path check from 192.168.255.1 to 62.140.29.51 on interface inside 106021: Deny udp reverse path check from 192.168.81.1 to 62.140.29.51 on interface inside 106021: Deny udp reverse path check from 192.168.255.1 to 62.140.29.51 on interface inside 106021: Deny udp reverse path check from 192.168.81.1 to 62.140.29.51 on interface inside 106021: Deny udp reverse path check from 192.168.255.1 to 62.140.29.51 on interface inside 106021: Deny udp reverse path check from 192.168.81.1 to 62.140.29.51 on interface inside My internal network uses 10.9.9.0/24 and there are no devices that should be connected inside using 192.168.x.x. I decided to nmap the address 62.140.29.51 to see what sort of box it was: 135/tcp filtered msrpc 136/tcp filtered profile 137/tcp filtered netbios-ns 138/tcp filtered netbios-dgm 139/tcp filtered netbios-ssn 445/tcp filtered microsoft-ds 1025/tcp open NFS-or-IIS 4000/tcp open remoteanything 12000/tcp open cce4x 53/udp open|filtered domain 69/udp open|filtered tftp 135/udp open|filtered msrpc 136/udp open|filtered profile 137/udp open|filtered netbios-ns 138/udp open|filtered netbios-dgm 139/udp open|filtered netbios-ssn 161/udp open|filtered snmp 162/udp open|filtered snmptrap 177/udp open|filtered xdmcp 445/...

A={ a | a not-e B } B={ b | SomeProperty(b) } B is the set of EVERYTHING with a Certain Property a:A e B CONTRADICTION this-is-not-in-that-set e ALL-ELEMENTS-OF-THE-SET CONTRADICTION IMPOSSIBLE TO COMPLETE QED EXIST TRANS-FINITE-UN-COMPUTABLE-META-THEORY-HYPER-CONTINUUMS! **** Godel's Proof, Halting Proof, Cantor's Proof, PowerSet Proof, Russells Set Proof, Universal Set Proof, Busy Beaver Proof, .. ALL-IN-1! Herc -- 'Do not confuse interpretation of a particular instantiation of self-inconsistent syntax with a metaphysical reality. Good luck. ' :-) mitch ...

suppose f(x)=exp(-x^2) then it's fourier transform is also exponential. I'm trying to perform FFT and plot it. I'm using this but it is not showing exponential behavior. please help me with plotting the FFT x=-10:0.01:10; y=exp(-x.^2); N=5000; z=fft(y,N); F=[-N/2:N/2-1]/N; plot(F,z,'b'); >suppose f(x)=exp(-x^2) then it's fourier transform is also >exponential. I'm trying to perform FFT and plot it. I'm using this but >it is not showing exponential behavior. please help me with plotting >the FFT > >x=-10:0.01:10; >y=exp(-x.^2); >N=5000; >z=fft(y,N); >F=[-N/2:N/2-1]/N; >plot(F,z,'b'); > First of all, your z is complex, so using a simple plot command is goin to give you a warning (I have 2008b, I don't remember how older MATLA behaves). Next, to get the "standard" view, with 0 Hz in the middle, yo should apply an fftshift to whatever component you want to view, e.g. plot(F, real(fftshift(z)), 'b'). If you plot the absolute value of (abs(fftshift(z))), you'll get a similar exponential shape, btw. Mark On Aug 12, 11:46=A0am, novis <stands...@gmail.com> wrote: > suppose f(x)=3Dexp(-x^2) then it's fourier transform is also > exponential. I'm trying to perform FFT and plot it. I'm using this but > it is not showing exponential behavior. please help =A0me with plotting > the FFT > > x=3D-10:0.01:10; > y=3Dexp(-x.^2); > N=3D5000; > ...

Hello.. I have an excel sheet in it real time sensor data. I need to plot the data in a graph on matlab! please help me what to do.. i dont know how to transfer this data to matlab.. it huge.. "aya" wrote in message <ju3fmb$r4k$1@newscl01ah.mathworks.com>... > Hello.. > > I have an excel sheet in it real time sensor data. I need to plot the data in a graph on matlab! please help me what to do.. i dont know how to transfer this data to matlab.. it huge.. xlsread will get the data into Matlab. Barry "Barry Williams" <barry.r.williamsnospam@saic.com> wrote in message <ju3po4$656$1@newscl01ah.mathworks.com>... > "aya" wrote in message <ju3fmb$r4k$1@newscl01ah.mathworks.com>... > > Hello.. > > > > I have an excel sheet in it real time sensor data. I need to plot the data in a graph on matlab! please help me what to do.. i dont know how to transfer this data to matlab.. it huge.. > > xlsread will get the data into Matlab. > Barry Oh thanks alot.. :) ...

Hi, I have a 6x9 matrix and I want to plot the values so that there are 54 squares and each has its corresponding value. I have used the contourf function but as expected it doesn't come out correctly. I'm not sure if there is a graphic function that will do this? Thanks for any help, Dave "David " <sum_is_41@hotmail.com> wrote in message <jj7j7u$nqj$1@newscl01ah.mathworks.com>... > Hi, > > I have a 6x9 matrix and I want to plot the values so that there are 54 squares and each has its corresponding value. > I have used the contourf function but as expected it doesn't come out correctly. > I'm not sure if there is a graphic function that will do this? > > Thanks for any help, > Dave If you want to have squares coloured by the values: doc imagesc If you want to print the the numeric values: doc text (and sprintf or num2str) hth > If you want to have squares coloured by the values: doc imagesc > If you want to print the the numeric values: doc text (and sprintf or num2str) > hth Thanks for the help; turned out I just needed to use the 'pcolor' graphical function! "David " <sum_is_41@hotmail.com> wrote in message <jj85pk$sg2$1@newscl01ah.mathworks.com>... > > If you want to have squares coloured by the values: doc imagesc > > If you want to print the the numeric values: doc text (and sprintf or num2str) > > hth > > Thanks for the help; tur...

Hi, I there some way to create discontinuous axes in a figure within Matlab? Say if you wanted to plot a point at infinity? Thanks, Hi, search for "BreakAXis" and "BreakXAXis" in the FEX : <http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do> J�r�me J�r�me wrote: > > > Hi, > > search for "BreakAXis" and "BreakXAXis" in the FEX : > > <http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do> > > J�r�me Perfect, Thanks, greatly appreciated. Cheers ...

Hello, Exercise 0.2 (page 16) from "The Standard C Library" is: Create a program which contains this line x : ((struct x *)x)->x = x(5); An "easy" solution is given right at the bottom; but that is not the main focus here... I am interested in a solution where the ":" is part of an inline if... () ? : Thus the line will occur like this: ? x : ((struct x *)x)->x = x(5); Here is my attempt: #include <stdio.h> #include <stdlib.h> struct y { struct y *num; int a; }; struct x { struct y *x; }; #define x(num) (&(struct y){NULL, (num)}) int main(void) { int i; struct y *tmp; struct y *x = &(struct y) {&(struct y) {NULL, 2}, 1}; x = x(5); ((struct x *)x)->x = x(5); for (i = 0; i < 2; ++i) { tmp = i ? x : ((struct x *)x)->x = x(5); printf("%d\n", tmp->num->a); } return EXIT_SUCCESS; } The compiler (gcc) complains: almost.c:30:31: error: lvalue required as left operand of assignment I find this rather strange, since the following lines from above, compile without error: x = x(5); ((struct x *)x)->x = x(5); How can one fix the compiler error???? Not even this works: tmp = ((struct y*)(i ? x : ((struct x *)x)->x) = x(5)); As an aside... Ironically if I dereference the inline if, then the following compiles without problem: *tmp = *(i ? x : ((struct x *)x)->x) = *x(5); My quest...

I've searched through the posting and found what should be the solution to changing the value of a label.... Private Sub Report_Open(Cancel As Integer) Me.lblTest.Caption = "I love Access" End Sub However, when I go to type a similiar thing into the code underlying my Access report, it doesn't offer the option of 'Caption' after the 'lblTest.'. I notice that at the start (after Me.), 'Caption' is on the list. Once I put in the label name, it isn't there. I report form opens. The obvious conclusion....I believe I have a poltigeist running around in my database hiding things that I need. So my question is, how does one kill (or maim) a cyber-poltigeist?? Regnab wrote: > I've searched through the posting and found what should be the > solution to changing the value of a label.... > > Private Sub Report_Open(Cancel As Integer) > Me.lblTest.Caption = "I love Access" > End Sub > > However, when I go to type a similiar thing into the code underlying > my Access report, it doesn't offer the option of 'Caption' after the > 'lblTest.'. I notice that at the start (after Me.), 'Caption' is on > the list. Once I put in the label name, it isn't there. I report form > opens. The obvious conclusion....I believe I have a poltigeist running > around in my database hiding things that I need. So my question is, > how does one kill (or maim) a cyber-poltigeist?...

A changing room , locker room , dressing room (usually in a sports, theater or staff context) or changeroom (regional use) is a room or area ...

Despite the hype, timeline may not be the most exciting, or important change coming on March 30. Expanded advertising opportunities may unlock ...

Jeremiah Owyang wrote an interesting piece about micromedia and how it's changing what we do on blogs and how we distribute media (er, ideas, ...

For developers who live and die by the changes Facebook makes to the way information flows through the service, every little Facebook tweak has ...

Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

We believe that social data has unlimited value, and near limitless application. Today, we’re taking an important step toward unleashing this ...

... your profile is a clue to the folks at LinkedIn that you’re thinking of switching jobs, so don’t be The Right and Wrong Reasons for Changing ...

We are Stack Overflow. You may know us from such popular websites as Stack Overflow Q&A, Stack Overflow Careers, The Stack Exchange Q&A Network, ...

It's time to take the mystery out of Twitter. Twitter may be the most powerful business and personal networking platform ever created but it ...

Read reviews, get customer ratings, see screenshots, and learn more about Voices 2 ~ fun voice changing! on the App Store. Download Voices 2 ...

Resources last updated: 3/30/2016 2:17:59 PM