How do I add a vertical cursor to a 2-plot xy graph?
I have a 2-plot xy graph, and I would like to add a vertical cursor that can be dragged to any x position, and have the 2 y values displayed. How do I do this?
OK, my problem is deeper than reading cursor position. My cursor disappears when the VI is first run, never to appear again. I have the X-axis set up for absolute time, and I think that might have something to do with it.
Attachments:
CC View Data Graph.zip 26 KB
Similar Messages
-
How do you add a Vertical scrollbar to a JTextArea?
How do you add a Vertical scrollbar to a JTextArea? This is what I've tried so far but it hasn't worked. I got that off of someone asking a similiar question here.
aTextArea = new JTextArea(10, 40);
JScrollPane scrollPane = new JScrollPane(aTextArea);
aTextArea.setText( " " );JScrollPane(component)
this constructor will only show the scrollbar (vertical and/or horizontal) as needed..so, if the scrollpane viewport is larger than the component, then it will not show the scrollbar.
you can force the scrollbar to alway show
setHorizontalScrollBarPolicy(int policy)
setVerticalScrollBarPolicy(int policy) -
How do I add a (vertical) picture to show while my movie is playing?
Im currently making a movie, and I want to have a picture present in the corner of the video while the movie is playing. I enabled advanced options and tried picture-in-picture, but that not only forces ken burns effect but it makes me use a horizontal cropping frame. Is there any way to add a vertically shaped picture to be in my video?
myugi12 wrote:
… Is there any way to add a vertically shaped picture to be in my video?
sure, but it needs some preparation.
in a designated 'paint'-application, I recommend Pixelmator, add your portrait shot to a transparent background with 16:9 aspect ratio.
if you don't own a picture-processor, your Macs Preview can do the trick:
open any 16:9 ratio picture in Preview
select-all (cmd-a)
erase (backspace) => a grey, empty 'nothing'
copy/paste your portrait pic => the 'magic' are the grey, transparent areas l/r
save as a png to keep transparency
add pic to iMovie Project => portrait PiP! -
How do I add a benchmark time to a scatter plot in Numbers
I am working with a data set that includes a group of people that arrive at a location in a time range. I have these plotted on a scatter chart but I want to show a benchmark line and then how far off we are on that benchmark.
How d I do this?If you want to plot another line on the chart, create two X,Y data points for the line in another set of columns in your table and plot it as a second series. For example, if your original X data is in column B and Y data in column C, use column D and E for these other two points. After you have those two points, click on your chart. A blue box will surround the data you have plotted in columns B&C. At the bottom right corner is a little circle. Drag it to the right until the box covers your new data in columns D&E. The default is X-Y pairs so the box should have an X over columns B and D and a Y over columns C and E. Your chart should show a second series.
If you want to get sophisticated, you can use formulas to make the data points for the benchmark. For instance, you could use MIN(B) and MAX(B) to generate the min and max X values so the benchmark line dynamically adjusts to your other X data. -
I want to do my sample of the project following these steps.
I
1. Create the template for compare other objects.
2. Save the template and ready for compare realtime with other objects
II
1. Use the CCTV video camera Sony capture the picture of the object (lego toys).
2. Calculate the size of the objects and change to mm.
3. Compare with the template and plot graph(Control chart) by length
4. Export the data to Excel Files
Solved!
Go to Solution.Nice project !
I sincerely hope you are not expecting us to do your homework.
What is your experience with LabVIEW ?
May be you should try to start to code something and then come back later with some more specific question ?
Message Edité par chilly charly le 01-02-2009 08:40 AM
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
I need to add text vertically in a word document outside the margins. How can I do this with Microsoft.Office.Interop.Word and C#?
Leonard Swarczinski Software Developer Postal Center InternationalHi Leonard,
According to your description, do you want to add text vertically into Page Header/Footer? I wrote a sample for you.
using Microsoft.Office.Core;
using Microsoft.Office.Interop.Word;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AddTextToWord
class Program
static void Main(string[] args)
CreateNewDocument();
Console.ReadLine();
private static void CreateNewDocument()
Object oMissing = System.Reflection.Missing.Value;
Microsoft.Office.Interop.Word.Application oWord;
Microsoft.Office.Interop.Word.Document oDoc;
oWord = new Microsoft.Office.Interop.Word.Application();
oWord.Visible = true;
oDoc = oWord.Documents.Add(ref oMissing, ref oMissing, ref oMissing, ref oMissing);
String HeaderText = "Hello everyone!";
WdParagraphAlignment wdAlign = WdParagraphAlignment.wdAlignParagraphCenter;
AddHeader1(oWord, HeaderText, wdAlign);
private static void AddHeader1(Application WordApp, string HeaderText, WdParagraphAlignment wdAlign)
Object oMissing = System.Reflection.Missing.Value;
WordApp.ActiveWindow.View.Type = WdViewType.wdOutlineView;
WordApp.ActiveWindow.View.SeekView = WdSeekView.wdSeekPrimaryHeader;
Microsoft.Office.Interop.Word.Shape textBox = WordApp.ActiveDocument.Shapes.AddTextbox(MsoTextOrientation.msoTextOrientationVertical, 150, 10, 40, 40);
textBox.TextFrame.TextRange.Text = HeaderText;
WordApp.ActiveWindow.View.SeekView = WdSeekView.wdSeekMainDocument;
If I misunderstood or anything wrong, please let me know and you can get more information from below articles.
Office development in Visual Studio
http://msdn.microsoft.com/en-us/office/hh133430.aspx
Abhout: AddTextbox Method
http://msdn.microsoft.com/en-us/library/office/aa171543(v=office.11).aspx
How to: Programmatically Insert Text into Word Documents
http://msdn.microsoft.com/en-us/library/vstudio/6b9478cs.aspx -
How do I add vertical text in a cell
How can I add vertical text within a cell. In Ecel it is easy as pie but I can't seem to find a quick fix in "numbers"?
Rotation of text in a table cell is not supported in Numbers.
The most often recommended workarouns is to use a floating text box. Rotate the box 90° (or other desired value), make sure that Wrap is set to 'none', then place the text box in front of the cell.
For other suggestions, see some of the posts in the "more like this" list to the right.
Step 2 is to make a request to Apple that this feature be added. Go to the Numbers menu in Numbers, choose Provide Numbers Feedback (or use the link), make your request that this feature be added to future versions of Numbers.
Regards,
Barry -
How do you add multiple iTunes to Keynote
How do you add multiple songs from the iTunes to your Keynote presentation?
Jer&Renee,
welcome to Apple Discussions.
It depends where you want them in your presentation.
Open the Media inspector and choose a playlist. In the list of entries, mark those you want to add to Keynote (use command-click to mark multiple titles not in one block).
Then drag the marked titles either on a slide or on the small Audio field (looks like a frame) in Document inspector. When you then hover the cursor at the Audio "frame", you'll see the quick info "Multiple Files". You cannot change the order or remove one of the files, but only all of them. -
How can I add a contact on the calendar for an event
How can I add a contact on the calendar for an event
It is between Repeat and Alert on my iPhone 5 with iOS 6.0.1
I used the + on the top right to add the event and when you look vertically starting with the name, followed by location and then time the rest of the default things includ Invitees, among other items. -
How do I add a table to a preformed template that I got ?
how do I add a table to a preformed template that I got ? I
have tried inserting a table but it always ends up inside another
table already created. But I want a brand new fresh table but
cannot seem to be able to get the cursor in the empty area.This page is not a DW Template. It's just an ordinary HTML
page. And if
you *paid* for it, I'd ask for my money back -
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.martynbird.co.uk%2Fradiocontr olcarsites%2F
Anyhow, to place a table in the location you desire, click
within the words
"Sites to buy your Radio control vehicles and spares" in
Design view, then
look at the Tag Selector bar at the bottom of the document
pane, and click
on the first <p> tag from the right. That will select
the entire <p> tag
and its contents. Since you cannot insert a table within a
<p> tag, you
would want the insertion point to be just to the right of
that paragraph, so
press the right arrow once. In Design view, you will see the
insertion
point to the right of the 'spares'. Now you can insert a
table.
WARNING: Using DW without a basic understanding of HTML and
CSS will cause
you to encounter mystery after mystery just like this, and
will ultimately
make your hair fall out and your teeth rot. Just don't take
that chance.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"mb007inc" <[email protected]> wrote in
message
news:gh8ekt$2sa$[email protected]..
> The page is located at
http://www.martynbird.co.uk/radiocontrolcarsites/
> The place I want the brand new table is to the right of
where the text is
> that is as follows "Sites to buy your Radio control
vehicles and spares"
> When I try to use the code view it just puts it into a
pre existing table
> ....I cannot place the cursor outside of the other
tables as it just wont
> let
> me. I click outside the tables and the flashing cursor
just stays where it
> is.
> -
How to programmatically add af:setPropertyListener to CommandImageLink
Hi All,
My Requirement: programmatically add af:setPropertyListener to CommandButton
I referred this post how to programmatically add af:setPropertyListener to CommandButton and followed the following code.
Code:
// create a value expression
ValueExpression vx =
elFactory.createValueExpression(elContext, "#{pageFlowScope.clockNo}",
String.class);
// set a default value if desired
vx.setValue(elContext, clockNo);
SetPropertyListener spl =
new SetPropertyListener(ActionEvent.class.getName());
spl.setFrom(clockNo);
spl.setValueExpression("to", vx);
// add the listener to the button
newOpButton.addActionListener(spl);
My Code:
<af:commandImageLink id="editInsuraceDetLink"
icon="/resources/images/Edit.jpg"
iconPosition="trailing"
rendered="#{not row.deleted}"
action="addEndorsement"
useWindow="true"
inlineStyle="vertical-align:bottom;"
partialSubmit="true"
shortDesc="Edit"
*actionListener="#{pageFlowScope.GetEndorsementTypeListener.execute}"*
returnListener="#{GetEndorsementDetailsListener.execute}"
windowEmbedStyle="window"
windowModalityType="applicationModal"
windowHeight="650" windowWidth="740">
</af:commandImageLink>
Action Listener - .GetEndorsementTypeListener.execute code:
RichCommandImageLink a_button = (RichCommandImageLink) a_component.findComponent("editInsuraceDetLink");
FacesContext fctx = FacesContext.getCurrentInstance();
Application application = fctx.getApplication();
ELContext elContext = fctx.getELContext();
ExpressionFactory elFactory = application.getExpressionFactory();
ValueExpression vx = elFactory.createValueExpression(elContext, "#{pageFlowScope.controlFlowName}", String.class);
// set a default value if desired
//vx.setValue(elContext, clockNo);
SetPropertyListener spl = new SetPropertyListener(ActionEvent.class.getName());
spl.setFrom(a_target.getEndorsementFor().toString());
spl.setValueExpression("to", vx);
System.out.println("From= "+spl.getFrom());
System.out.println("To= "+spl.getValueExpression("to"));
// add the listener to the button
a_button.addActionListener(spl);
I got the following output.
From= Nominee / Appointee
To= ValueExpression[#{pageFlowScope.controlFlowName}]
Now my Problem is: the pageFlowScope variable ControlFlowName is not set.
And also I got a *link*: https://blogs.oracle.com/vijaymohan/entry/usage_of_setpropertylistener_and_setactionlistener
Whats wrong with my code. Is my problem related with above *link*.
Please suggest me how to add SetPropertyListener programmatically.
-Thanks
MohanrajFrank,
This works:
// create a value expression
ValueExpression vx =
elFactory.createValueExpression(elContext, "#{pageFlowScope.clockNo}",
String.class);
// set a default value if desired
vx.setValue(elContext, clockNo);
SetPropertyListener spl =
new SetPropertyListener(ActionEvent.class.getName());
spl.setFrom(clockNo);
spl.setValueExpression("to", vx);
// add the listener to the button
newOpButton.addActionListener(spl);But, I am thinking you would have known about it before I posted it. I don't really know how it works, but it does.
Can you help me reconcile between this, and what you said. Because what you said makes sense too. -
I am trying to add gender symbols while typing in word. I can't find the symbols as pre-existing in the drop down menus. How do I add them?
♂♀
MAdirK
You can use the Character Palette to insert these - see above
Choose View [All Characters]
Choose Miscellaneous Symbols
Verify [By Category]
Choose Collections: [Containing selected character] - this will display the fonts that have the character you select
Locate and choose the symbol you want - then choose the font you wish [4]
Double-click the character OR choose [Insert] to insert where the cursor is in your document
You should probably play around with the Character Palette, in particular 'Favorites'(at the top near [3] 'by Category'), which will save all your cool symbols not available from the keyboard. Just DBL+click the favorite symbol and voila!
regards
CCC -
How to print the rows vertically
Hi
how to print the results vertically, like this
SELECT eno, ename, deptid FROM emp_asign
WHERE ROWNUM<3
ENO 104
ENAME Bruce Ernst
DEPTID 60
ENO 106
ENAME Maximus
DEPTID 60well, let's start from the inside and work our way out, shall we?
the "WITH" clause is just to alias a subquery that he used as an example. I'll assume you know that, and just put it inside the main query (and I'll use all the columns)
select rpad(t.column_value.getrootelement(),20) || ': ' || t.column_value.extract('//text()') out
from table(xmlsequence(xmltype(cursor(select * from emp where rownum<4)).extract('ROWSET/ROW/*'))) t
SQL> select cursor(select * from emp where rownum<4) from dual;
CURSOR(SELECT*FROMEM
CURSOR STATEMENT : 1
CURSOR STATEMENT : 1
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
3 rows selected.
1 row selected.
SQL> select xmltype(cursor(select * from emp where rownum<4)) from dual;
XMLTYPE(CURSOR(SELECT*FROMEMPWHEREROWNUM<4))
<?xml version="1.0"?>
<ROWSET>
<ROW>
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
<MGR>7902</MGR>
<HIREDATE>17-DEC-80</HIREDATE>
<SAL>800</SAL>
<DEPTNO>20</DEPTNO>
</ROW>
<ROW>
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>20-FEB-81</HIREDATE>
<SAL>1600</SAL>
<COMM>300</COMM>
<DEPTNO>30</DEPTNO>
</ROW>
<ROW>
<EMPNO>7521</EMPNO>
<ENAME>WARD</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>22-FEB-81</HIREDATE>
<SAL>1250</SAL>
<COMM>500</COMM>
<DEPTNO>30</DEPTNO>
</ROW>
</ROWSET>
1 row selected.
SQL> select xmltype(cursor(select * from emp where rownum<4)).extract('ROWSET/ROW/*') from dual;
XMLTYPE(CURSOR(SELECT*FROMEMPWHEREROWNUM<4)).EXTRACT('ROWSET/ROW/*')
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
<MGR>7902</MGR>
<HIREDATE>17-DEC-80</HIREDATE>
<SAL>800</SAL>
<DEPTNO>20</DEPTNO>
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>20-FEB-81</HIREDATE>
<SAL>1600</SAL>
<COMM>300</COMM>
<DEPTNO>30</DEPTNO>
<EMPNO>7521</EMPNO>
<ENAME>WARD</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>22-FEB-81</HIREDATE>
<SAL>1250</SAL>
<COMM>500</COMM>
<DEPTNO>30</DEPTNO>
1 row selected.
SQL> select xmlsequence(xmltype(cursor(select * from emp where rownum<4)).extract('ROWSET/ROW/*')) from dual;
XMLSEQUENCE(XMLTYPE(CURSOR(SELECT*FROMEMPWHEREROWNUM<4)).EXTRACT('ROWSET/ROW/*'))
XMLSEQUENCETYPE(XMLTYPE(<EMPNO>7369</EMPNO>
), XMLTYPE(<ENAME>SMITH</ENAME>
), XMLTYPE(<JOB>CLERK</JOB>
), XMLTYPE(<MGR>7902</MGR>
), XMLTYPE(<HIREDATE>17-DEC-80</HIREDATE>
), XMLTYPE(<SAL>800</SAL>
), XMLTYPE(<DEPTNO>20</DEPTNO>
), XMLTYPE(<EMPNO>7499</EMPNO>
), XMLTYPE(<ENAME>ALLEN</ENAME>
), XMLTYPE(<JOB>SALESMAN</JOB>
), XMLTYPE(<MGR>7698</MGR>
), XMLTYPE(<HIREDATE>20-FEB-81</HIREDATE>
), XMLTYPE(<SAL>1600</SAL>
), XMLTYPE(<COMM>300</COMM>
), XMLTYPE(<DEPTNO>30</DEPTNO>
), XMLTYPE(<EMPNO>7521</EMPNO>
), XMLTYPE(<ENAME>WARD</ENAME>
), XMLTYPE(<JOB>SALESMAN</JOB>
), XMLTYPE(<MGR>7698</MGR>
), XMLTYPE(<HIREDATE>22-FEB-81</HIREDATE>
), XMLTYPE(<SAL>1250</SAL>
), XMLTYPE(<COMM>500</COMM>
), XMLTYPE(<DEPTNO>30</DEPTNO>
1 row selected.
now that we know what that looks like, we can put it in the TABLE() and make it the FROM clause
SQL> select * from table(xmlsequence(xmltype(cursor(select * from emp where rownum<4)).extract('ROWSET/ROW/*')));
COLUMN_VALUE
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAME>
<JOB>CLERK</JOB>
<MGR>7902</MGR>
<HIREDATE>17-DEC-80</HIREDATE>
<SAL>800</SAL>
<DEPTNO>20</DEPTNO>
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>20-FEB-81</HIREDATE>
<SAL>1600</SAL>
<COMM>300</COMM>
<DEPTNO>30</DEPTNO>
<EMPNO>7521</EMPNO>
<ENAME>WARD</ENAME>
<JOB>SALESMAN</JOB>
<MGR>7698</MGR>
<HIREDATE>22-FEB-81</HIREDATE>
<SAL>1250</SAL>
<COMM>500</COMM>
<DEPTNO>30</DEPTNO>
23 rows selected.I'm getting bored. I'm sure you can break down the remaining parts of the statement to see what they return, and how it all comes together. -
Value of the vertical cursor line in the Hyper Trend
How I can read a value of the vertical cursor line in the Hyper Trend?
You can find the value in the Cursor Box.
Ryan Shi
National Instruments
Attachments:
untitled1.JPG 35 KB -
How do I add spaces with Yosemite?
I have just upgraded to Yosemite and my spaces went missing. I have two monitors and the current configuration for is one space for each monitor and one for Dashboard. I have "Zoomed to Mission Control" and do not see an option to add spaces, neither an "add" or a "+" anywhere.n How can I add more spaces?
Thank you,
MichaelSlide the cursor over to the top-right of the Mission Control window which should result in an Add button to appear.
Maybe you are looking for
-
Sales analysis by all criteria: customer, customer type, sales type.
Hi friends, Can any one explain about , how to do sales analysis, what is the use of this analysis and what is the process to configure in sap.
-
The company I work for is looking for a Manager/Leader of Oracle Purchasing. Location: Marietta, GA Company: Large Billion Dollar Corporation Requirements: -4 yrs college degree in CS or MIS -Project Management Skills (Large Scale) -RDBMS experience
-
Exceptions in BI 7.0 Query Designer
Hi Guys, I have a requirement where based on Net Supply and Product classification, conditional formatting need to be applied. Below is the scenario. Product Class Week1 Week2 Week3 Week4 Week
-
Car Receivers that play DVDs and iphone compatable which one?
Hi I am looking to get a car receiver installed with dvd and iphone playing enabled to the max but would also like GPS even if I could get the tom tom app and google maps playing on this receiver is fine. But what sort of DVD car receiver do people r
-
hi i need to kno whow to configure ipmp on solaris 10 in order to overcome the issue the cross cables are not supported. my environment looks like as follows: no third party cluster. cluster environment is built using raw partitions s5 and s6 with ex