Labview XY graph with space between data and top/bottom of graph
In Labview, how do I modify the properties of the XY Graph so that there is some empty space (of say 1 unit) between the top and bottom of my graph and the data points I'm plotting. For example, I have a sine wave and when its autoscaled, the top point is at the very top of the graph but I want some space between the top of the graph and the highest point of the sine wave. I could "unautoscale it" and edit the minimum and maximum to be 1 above and below the data points but is there a way to set it so it stays that way regardless of the data points that I input?
Thanks,
Kevin
elset191 wrote:
I don't know how big of a cushion it gives, but it's there.
if you want to programmatically set it you can also do this (as I learned a bit ago right here on these forums!)
Message Edited by for(imstuck) on 05-24-2010 03:45 PM
Message Edited by for(imstuck) on 05-24-2010 03:46 PM
CLA, LabVIEW Versions 2010-2013
Attachments:
graphScale.PNG 9 KB
Similar Messages
-
Need help with space between bullet and text in list
I've been trying to increase the space between my bullet and text in my list. Everytime I increase the margin-left or padding everything moves to the right but the space between the bullet and text stays the same. Would someone help me figure out what I'm doing wrong. Website is located here. http://www.webassistantsllc.com/clients/sport
Thanks
LynneThanks for the help. That worked perfectly.
Another question on my bullet:
Is there a way to adjust the position of my bullet in a list? http://www.webassistantsllc.com/clients/sport
Thanks
Lynne -
Diference between DATA: and TYPES: on internal tables
Hi people,
Can somebody help me. I wanna know whats the diference between DATA: and TYPES: on internal tables
and whitch has the best performance, here is a eg:
DATA: BEGIN OF ti_sbook occurs 0,
carrid LIKE sbook-carrid,
fldate LIKE sbook-fldate,
customid LIKE sbook-customid,
loccuram LIKE sbook-loccuram,
END OF ti_sbook.
AND
TYPES: BEGIN OF ti_sbook ,
carrid LIKE sbook-carrid,
fldate LIKE sbook-fldate,
customid LIKE sbook-customid,
loccuram LIKE sbook-loccuram,
END OF ti_sbook.
DATA: gw_sbook TYPE TABLE OF ti_sbook,
gs_sbook TYPE ti_sbook.
witch of both types is better?
thanks.Hi Marcelo,
For compatibility matters is better to create internal tables with a work area separately. So yes it's better to use types. When you work with Object Oriented coding you will need to use internal tables defined with types. Also when defining tables with types is the new way of coding, the another coding is getting obsolete defined by SAP. That's why when working in ABAP with OO (Object Oriented) code you'll have to define tables with types and not the other way.
Hope it helps.
Regards,
Gilberto Li -
Space between content and logo
Playing with fluid layouts and getting a space between logo and content DIV's
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Playing with Liquid Layouts</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="container">
<div id="logo">
<h1>Welcome to Liquid Layouts</h1>
<h2 class="logo">Place your slogan here...</h2>
</div>
<div id="navigation">
<ul>
<li>Home</li>
<li>Page 1</li>
<li>Page 2</li>
<li>Page 3</li>
<li>Page 4</li>
<li>Page 5</li>
</ul>
</div>
<div id="content">
<h1>Adding this element creates a space between logo and content...</h1>
</div>
<div id="footer">
</div>
</div>
</body>
</html>
@charset "utf-8";
/* CSS Document */
body
text-align: center;
div#container
margin-left: auto;
margin-right: auto;
min-width: 600px;
max-width: 2000px;
text-align: left;
width: 85%;
div#logo h1, h3
padding-left: 20px;
margin-bottom: 0;
div#logo h2
padding-left: 35px;
margin-top: 0;
font-size: 125%;
div#logo
background-color: #F00;
width: 100%;
height: 300px;
div#navigation
background-color: #0F0;
width: 25%;
height: 600px;
float: left;
div#navigation ul
padding-left: 25%;
font-size: 150%;
list-style-type: square;
div#content
background-color: #C93;
width: 100%;
height: 600px;
margin-top: 0px;
div#footer
background-color: #69F;
height: 30px;;
.footerP
margin-top: 0px;
padding-left: 2%;
line-height: 35px;;
PICTURE:
[IMG]http://i.imgur.com/1nGUG.jpg[/IMG]The space is caused by the default margin in your H1 tag. As such, you need to define a style for H1:
h1{
margin-top:0;
padding: ??;
You can add padding to move the H1 away from the edges of the surrounding DIV.
EDIT:// An after thought. If you are "Playing with fluid layouts", you might want to consider not using heights and/or set the heights/widths in % values. -
Need to remove the space between Menu and the Inner screen
Hi
I am using forms 10G.
In my screen there is some space is coming in between menu and the inner screen and also same in the left side as well .
So can any one tell me which parameter I need to change so that the inner screen should display just below to the menu and same for the left side as well ?Hi
Yes , If I change that then it is woring fine .
But my question is :- I have 10 forms in server , and in 2 forms I have changed some functionalty then I have FTP it to server .
Now all the forms are coming with some spaces between menu and inner screen . This is what I am little confused . -
Whats basic difference between data and types while declearing the itab
whats basic difference between data and types while declearing the internal tables...
DATA : BEGIN OF t_vbap OCCURS 0,
vbeln1 LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
netpr LIKE vbap-netpr,
netwr LIKE vbap-netwr,
werks LIKE vbap-werks,
matnr LIKE vbap-matnr,
arktx LIKE vbap-arktx,
END OF t_vbap.
vs
TYPES : BEGIN OF t_vbap,
vbeln1 LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
netpr LIKE vbap-netpr,
netwr LIKE vbap-netwr,
werks LIKE vbap-werks,
matnr LIKE vbap-matnr,
arktx LIKE vbap-arktx,
END OF t_vbap.
and vs
TYPES : BEGIN OF t_vbap,
vbeln1 LIKE vbeln,
posnr LIKE posnr,
kwmeng LIKE kwmeng,
netpr LIKE netpr,
netwr LIKE netwr,
werks LIKE werks,
matnr LIKE matnr,
arktx LIKE arktx,
END OF t_vbap.hi,
like -> used for refering existing data elements in data dictionary or in sap
type -> used for refering existing data types in sap.
types: used for creating used defined structure of tables which has fields from more tahn one table.
diff b/w types and type in creation of internal tables is that when u create a table with types then u can use same for work area creation also.
ex:
TYPES : BEGIN OF t_vbap,
vbeln1 LIKE vbeln,
posnr LIKE posnr,
kwmeng LIKE kwmeng,
netpr LIKE netpr,
netwr LIKE netwr,
werks LIKE werks,
matnr LIKE matnr,
arktx LIKE arktx,
END OF t_vbap.
data: itab1 type t_vbap
wa_itab1 type t_vbap.
when type is used then u have to create a defintion of work area for another time when internal table doesnt have headr line as
ex:
DATA : BEGIN OF t_vbap OCCURS 0,
vbeln1 LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
netpr LIKE vbap-netpr,
netwr LIKE vbap-netwr,
werks LIKE vbap-werks,
matnr LIKE vbap-matnr,
arktx LIKE vbap-arktx,
END OF t_vbap.
DATA : BEGIN OF wa_vbap,
vbeln1 LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
netpr LIKE vbap-netpr,
netwr LIKE vbap-netwr,
werks LIKE vbap-werks,
matnr LIKE vbap-matnr,
arktx LIKE vbap-arktx,
END OF wa_vbap.
if helpful reward soem points.
with regards,
suresh. -
How to get the fixed result in a DES/CBC mode with fixed input data and fix
How to get the fixed result in a DES/CBC mode with fixed input data and fixed key. Below is my program , I tried to get the checksum of the DESInputData with the DESKeyData, but each time the result is different.
below is my code:
byte[] DESKeyData = {(byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01, (byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01 };
byte[] DESInputData = {(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31,(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31 };
SecretKeySpec skey = new SecretKeySpec( DESKeyData, "DES" );
Cipher cipher = Cipher.getInstance("DES/CBC/NoPadding");
cipher.init( Cipher.ENCRYPT_MODE, skey );
byte[] result = cipher.doFinal( DESInputData );Use class javax.crypto.spec.IvParameterSpec to specify IV for CBC mode cipher:
// Create CBC-mode triple-DES cipher.
Cipher c = Cipher.getInstance("DESede/CBC/PKCS5Padding");
// Specify IV.
IvParameterSpec iv = new IvParameterSpec(new byte[] { (byte)0x01, (byte)0x23, (byte)0x45, (byte)0x67, (byte)0x89, (byte)0xAB, (byte)0xCD, (byte)0xEF });
// Initialize cipher with proper IV.
c.init(Cipher.ENCRYPT_MODE, yourKey, iv);
// Encrypt and decrypt should work ok now.
For more info about cryptography, search the Internet for IntroToCrypto.pdf from mr. Phil Zimmerman. This document is also part of PGP (http://www.pgp.com).
An excellent book is 'Applied Cryptography' from Bruce Schneier (http://www.counterpane.com/applied.html).
Regards,
Ronald Maas -
Something went wrong with sync. between pc and Ipad now part of the information is gone on the Ipad. How do I take the backup of the pc and put it back on the Ipad.
Same thing just happened to me. Help!
-
How to maintain space between value and base unit of measure in sapscript
Hi Guys,
I am working on an upgradtion project, i have problem like while upgrading from 4.6b to 5.0. i need to main a space between value and base unit of measure. can anyone letme know how to maintain in the form. I mean in sapscript.
Thanks,
YogeshThere are a couple of ways to handle this, if you need a bigger space between, you can use tabs in the paragraph format. Or you can just write the space in between the fields like so.
ZA &MSEG-MENGE& &MSEG-MEINS&
Regards,
RIch Heilman -
How to maintain space between table and header in ssrs
Hi Everyone,
I have created a report. In page header of this report, On First Page space between header and
body is good , but from next page, space is not maintain.
Please suggest me how to maintain space at every page of report.
Thanks.Can you post a screenshot?
This can be achieved if you are repeating column headers on each page. Just change row height of header and align text to bottom, and make sure there is no space between Page Header and Tablix.
- Vishal
SqlAndMe.com -
I deleted gardens of time yesterday and need to get it back with the current data and progress. Is this possible?
Is that on an iPad, iPod Touch or iPhone?
-
The Correct Space Between You And Your Monitors
Something that always crossed my mind was the space between your monitors and where you are seated. How far exactly are you supposed to be positioned from your speakers in order to read and hear correctly. Most producers would comment that people produce in all types of environments, headphone close rang monitors, far range monitors. But what exactly is the ideal space between you and your speakers? To look into this issued even more closely each speaker is designed differently, there for you cannot look at them all equal as far as performance is concerned.
How far are you away from your speakers?dude it depends what you want
I got mine at about 1-meter to 1.5-meters at my home studio
at the big studio i've got two pairs of monitors in there and they both 1.5 meters
other people will go as far as 3-meters, in your case get abit closer as you said before that your room is not acoustically treated there for sitting too far away will give you a mix of 50% of the speakers and 50% of the room
but you need 80% of the speakers and 20% of the room
ps: don't just leave this topic alone and start another one, because its annoying when people don't if you've been help or not and they keep trying to help you
and people also don't know if you are reading your post or your just using it as an amusement forum just for fun on your lunch breaks
so please reply back and let people know if they've helped
stash -
Create a listing of reports with last run date and # of times run
Hi All,
I want to create a listing of reports with last run date and number of times report is run in the past 18 months.
If anybody can please help me with the query for the same.
Regards,
Sk
Edited by: user10989244 on Aug 18, 2009 7:12 AMHi Sk
Assuming you have the collection of statistics enabled, which it is out of the box, you can get the information you need from the EUL5_QPP_STATS table. This script will help:
SELECT
QPP.QS_DOC_OWNER WORKBOOK_OWNER,
QPP.QS_DOC_NAME WORKBOOK_NAME,
QPP.QS_DOC_DETAILS WORKSHEET_NAME,
QPP.QS_CREATED_BY RUN_BY,
TRUNC(MAX(QPP.QS_CREATED_DATE)) LAST_USED_DATE,
COUNT(QPP.QS_ID) TIMES_USED
FROM
EUL5_QPP_STATS QPP
WHERE
QPP.QS_CREATED_DATE >= ADD_MONTHS(SYSDATE, -18)
GROUP BY
QPP.QS_DOC_OWNER,
QPP.QS_DOC_NAME,
QPP.QS_CREATED_BY,
QPP.QS_DOC_DETAILS
ORDER BY 1,2,3;
Best wishes
Michael -
How to give space between date mm and year in terms of bytes
Hi Guru,
In sapscript I want to give space in datae formate betweeen day and month , month and year in terms of bytes.
Example :
if datae is 2009/08/18 then I want to move like 2009 08 18. Here the gap between the date field and month , year fields is in terms of bytes. Like 4 bytes gap between year and date, 5bbytes gap between day and month in ECC6.0.
Please help in this.
Thanks,
PJ.hii prakash,
Use the Function Module.
RP_FORMATING_DATE
If you use this FM then automatically it will convert it to YYY MM DD format and then you can use as per your requirement
or you can do like this
Use following code to change the date format from DD.MM.YYYY to YYYY MM DD
DATA : DATE(10) TYPE C,
DATE1(10) TYPE C.
CONCATENATE DATE6(4) DATE3(2) DATE+0(2)
INTO DATE1
SEPARATED BY ' '.
regards,
Shweta
Edited by: Shweta Joon on Aug 18, 2009 10:38 AM -
Phtmlb: space between Label and Field
Hello,
I am using <phtmlb:matrix> to arrange the fields next to one another on the view. For fields, <phtmlb:formLayoutInputField> is used in which case the label is taken automatically through binding to DDIC fields. At one particular row of matrix, it is required to break-up the cell in 3 more cells, so that I can display 3 fields adjacent to one another in the space of one cell. For this I am nesting one more matrix inside the outer matrix.
Something like this...
<phtmlb:matrix>
<phtmlb:matrixCell row = "1"
col = "1" />
<phtmlb:formLayout>
<phtmlb:formLayoutInputField>
</phtmlb:formLayout>
<phtmlb:matrixCell row = "2"
col = "1" />
<phtmlb:matrix>
<phtmlb:formLayout>
...3 fields next to one another / 3 cells
</phtmlb:formLayout>
</phtmlb:matrix>
</phtmlb:matrix>
I am able to acheive the desired output of 3 fields next to one another, but facing the following problem.
To get the inner matrix(3 fields) into effect, i need to close the <phtmlb:formLayout>.
Now, the first row properly shows all the filds one below the other with proper spacing between the label and input output field.
(Actually all the input_output fileds are placed at a distance of largest text/label in one formlayout).
But when the second row starts, the spacing between label and field is no longer taken as per the first row in above case.
Is it because since a new <phtmlb:fomlayout> is started , the spacing will be as per the elements in this new formlyout. If yes, How can I assure the same spacing between elements of two different formlayouts. I tried "fieldToLabelFactor" but since no. of fields in my page is too large, I can't afford to decide this factor for every <phtmlb:formLayout>.
Or is there any better way to acheive the required output.
Thanks ,
Pritidid u get the solution?
Maybe you are looking for
-
Exception in Message mapping for JDBC - XI- file
Hi, In the above scenario, Sender JDBC adapter has processed the message but when i checked the processed XML messages, its giving an error message with details <i>During the application mapping com/sap/xi/tf/_MM_XXXX_a com.sap.aii.utilxi.misc.api.Ba
-
HPE 180T - Video driver stopped responding - the screen is pixilated and barely legible.
My HPE 180T core dumped and when it restarted the screen was pixilated and barely legible. I could make out a message "Video driver stopped working and has recovered". I am not sure how to reinstall the driver (Windows 7 64-bit OS), since it is ver
-
I have many photos taken on a Leica P&S. It records record raw format and jpg. Some of the photos were actually of important subjects that I would like to preserve. I have recently noticed that the Raw files become corrupted when I open them in the C
-
How can i buy videos from a diffrent country
i am from the us and i want to buy videos from france in itunes how do i go about that ?
-
Error when creating Task List: No Consolidation System found
All- Configuring my Retrofit Scenario. My Project Landscape is maintained as following: Dev(100) --> QA (200) --> Prod (300) with Retrofit (XXX) Dev(XXX) --> QA 250 I am getting this error when I try to refresh the project or create a Task List *No c