How to plot this into a line graph?
Hi,
I just found out that my breakeven point in sales turnover is $132,837. But how would I plot that into Illustrator's line graph?
breakeven1.jpg: It's breakeven point is $7,956.
breakeven2.jpg: I'm probably doing it wrong. Do I really need to define both axises like that?
Thanks!
A more interesting question is: Must you use a chart at all to present such a simple fact? No offense, they tear such stuff to pieces over at Junk Charts and Mr. Tufte would call it a Duck. If you insist on using a chart, a differential bar chart or a range chart would be much more appropriate and telling.
Mylenium
Similar Messages
-
Chart Web Part to not plot zeros on a line graph
Hi all,
Is it possible to not plot zeros on a line graph?
I have a line chart with days of the current month along the x-axis and a value on the y-axis. I have a series representing a forecast as a line that will show what the values along for the whole month should be and a second
line chart series representing the actual. This tells the reader how the actual is tracking against the forecast. The data is based on an excel table.
Currently when the latest value is set the line skews back to 0. I don't want this shown, I just want it left blank. On excel you can change the zeros to na() and the line graph will not plot, however, if I leave them as na() in the source data, the whole
column wont be imported in the chart wizard.
Any ideas?
Thanks
AndyIt's true -- the RangeBar chart type only has two field options (X and Y) while the RangeColumn correctly has an addtional Y field. The RangeBar chart should obviously have two X fields if it's supposed to plot a range, as the name and example image indicate.
Neither this thread or the one linked has led to an answer. Can this be fixed? -
Can any one tell me how to break this into separate columns 05/13/2014,"46","48","37","70","74","1","2","121000000.0000"
Paste your content into TextEdit. Format > Make Plain Text.
Comand-S to save.
Command-Click the filename at the top of the TextEdit window. Click on the second line, the name of the folder where you saved the document.
Select the extension of the document Name in the finder window that is being displayed and replace TXT with CSV.
Right-Click the csv file and choose Open With > Numbers.
Numbers will open with a column for each field in your data.
Jerry -
Combining multiple plot data into a single graph.
This is my current data structure:
1D array of... (contains 6 plots, each with their own x and y arrays)
A cluster of two elements
1D array of I32
1D array of DBL
A cluster of two elements
2D array of DBL (y points for multiple plots)
1D array of I32 (x points for the multiple plots)
I need to combine these into something suitable for throwing at an XY-Graph. This operation will need to be done three times (for three different graphs), where only the 2D array of DBL is different for each graph (all three 2D arrays are located in the same cluster along with the shared 1D array). What is the best way of doing this?
The 1x6 array of clusters contains plots 0-5 for each graph. Is there a way to hide these plots from the graph's legend?
Never say "Oops." Always say "Ah, interesting!"J.Mamakos wrote:
I need to combine these into something suitable for throwing at an XY-Graph. This operation will need to be done three times (for three different graphs), where only the 2D array of DBL is different for each graph (all three 2D arrays are located in the same cluster along with the shared 1D array). What is the best way of doing this?
Sorry - this was actually a bit wrong/incomplete.
Graph1 includes one 2D array of DBL against the 1D array of I32.
Graph2 includes elements 2-3 of the 1x6 array, and also one 2D array of DBL against the 1D array of I32.
Graph3 includes elements 4-5 of the 1x6 array, and also one 2D array of DBL against the 1D array of I32.
This is how I'm doing it at the moment, but am I missing a trick here? Is there a better way?
As for my question about hiding any plots (on the legend) that came from the 1x6 array, is this even posible?
Either that, or is it possible to hide a graph whilst leaving its legend showing?
Or can one show/hide a graph's label in run-time?
Never say "Oops." Always say "Ah, interesting!" -
How to change marker size in line graphs
Hello,
I'm using line graph and i show markers for the user know where to see a tooltip. I observed that the line markers are very big and clutter my graph when points are very close one anothers. I would like to make them smaller, but I don't know how to do it.
Any help is appreciated.
Thanks,
Plan.
<dvt:lineGraph ...>
<dvt:seriesSet markerDisplayed="true">
</dvt:seriesSet>
</dvt:lineGraph>>System Preference>General
this will change text size and associated icon size. -
My two line graphs covers six months, but only shows three months How can I make it show all six months
select the chart, then open the Chart Formatter:
Then click "Axis", then "Category (X)"
Change the "Label Angle" to "Left Vertical" or "Right Vertical" -
How to plot power factor as a graph?
Well guys, I have an array with power factor values and I need to plot this in a graph.
My problem is because as you know, power factor has positive and negative values so when I plot I need to change my scale to get a better visual.
I was thinking about:
0
0,2
0,4
0,6
0,8
1
-0,8
-0,6
-0,4
-0,2
0
Anyone have a graph or a code that make its? Because I already tryed here a lot but never get a good solution
and I think this isn't that difficult! Thanks!Hi EduU,
you can find your own threads by searching in your profile (just click your name) Or you could use the search function to look for "power factor graph"...
There were other possible solutions than mine, also without separating the values...
Message Edited by GerdW on 06-01-2010 03:18 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How to make this into star schema
Hi experts
I have 4 tables that I would like to turn into a star schema.
table1(fact) has a N:1 to table2(dim)
table2(dim) also has a 1:1 to table3(dim) and 1:1 to table4(dim)
Is it possible to model this into a star schema where table1 (fact) has a N:1 relationship to all tables (dimensions)?
I have modeled this in the administration tool and any queries between table1 and table 2 work but they dont if I involved table3 and 4.
Am unsure how to define 1 to 1 relationships in the physical layer.
cheers
TimTim, could you give us any details on what the dimensions 2, 3, and 4 actually are? Sorry, I think better when I can replace "dim 2" with "person" or whatever.
In any case, pretty unusual to have 1 to 1 relations like that. Sounds more to me like you have a single fact table, with 1 dimension that is "snowflaked"...but with the snowflakes not representing aggregate levels?
I'd try just modeling it as a single dimension joining to the fact table (i.e. combine all three physical dimension tables into one logical dimension table). Then maybe break it up in the presentation layer if you really want to split it for the end users?
Hope this helps,
Scott -
How to convert this into alv display and also change parameterstoselect opt
tables :mara,marc,stpo.
parameters: p_werks like t001w-werks obligatory,
p_matnr like mara-matnr obligatory.
*select-options : p_matnr for mara-matnr obligatory.
*parameters: p_werks like marc-werks obligatory,
*p_matnr like marc-matnr obligatory.
constants c_x value 'X'.
data: begin of it_comp occurs 0,
idnrk like stpox-idnrk,
ojtxp like stpox-ojtxp,
menge like stpox-menge,
meins like stpox-meins,
matkl like stpox-matmk,
end of it_comp.
data: w_topmat like cstmat.
start-of-selection.
perform explode_assembly.
end-of-selection.
perform write_report.
top-of-page.
perform print_header.
form print_header.
write: /(18) 'Component'(h00),
(40) 'Description'(h01),
'Mat.Group'(h02),
(18) 'Quantity'(h03).
uline.
endform.
form write_report.
write: / w_topmat-matnr under text-h00 color col_heading,
w_topmat-maktx under text-h01 color col_heading.
loop at it_comp.
write: /
it_comp-idnrk under text-h00,
it_comp-ojtxp under text-h01,
it_comp-matkl under text-h02,
it_comp-menge unit it_comp-meins under text-h03,
it_comp-meins.
endloop.
uline.
endform.
form explode_assembly.
data: it_stb like stpox occurs 0 with header line,
it_stb2 like stpox occurs 0 with header line,
it_stb3 like stpox occurs 0 with header line,
w_msg(255) type c.
Explode highest level:
call function 'CS_BOM_EXPL_MAT_V2'
exporting
auskz = c_x
capid = 'PP01'
cuols = c_x
datuv = sy-datum
knfba = c_x
ksbvo = c_x
mbwls = c_x
mdmps = c_x
BGIXO = c_x
MKMAT = c_x
MMAPS = c_x
FBSTP = c_x
FTREL = c_x
mtnrv = p_matnr
werks = p_werks
importing
topmat = w_topmat
tables
stb = it_stb
exceptions
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
others = 9.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
into w_msg.
write: / w_msg.
exit.
endif.
Don't process documents
delete it_stb where idnrk is initial.
Don't process valid from furure:
delete it_stb where datuv >= sy-datum.
Explode phantom assemblies up to last level
*do.
it_stb2[] = it_stb[].
*delete it_stb2 where dumps is initial.
*if it_stb2[] is initial.
*exit.
*endif.
*delete it_stb where not dumps is initial.
delete it_stb where VPRSV <> 'S' OR MMSTA = '61'.
loop at it_stb2.
call function 'CS_BOM_EXPL_MAT_V2'
exporting
capid = 'PP01'
auskz = c_x
cuols = c_x
datuv = sy-datum
knfba = c_x
ksbvo = c_x
mbwls = c_x
mdmps = c_x
FBSTP = c_x
FTREL = c_x
mtnrv = it_stb2-idnrk
werks = p_werks
tables
stb = it_stb3
exceptions
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8
others = 9.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
into w_msg.
write: / w_msg.
else.
delete it_stb3 where idnrk is initial.
delete it_Stb3 where sobsl = 50.
loop at it_stb3 .
multiply it_stb3-menge by it_stb2-menge.
modify it_stb3 transporting menge.
endloop.
append lines of it_stb3 to it_stb.
endif.
endloop.
*enddo.
Build table of components collecting the same components from
all levels
loop at it_stb.
it_comp-matkl = it_stb-matmk.
it_comp-idnrk = it_stb-idnrk.
it_comp-ojtxp = it_stb-ojtxp.
it_comp-menge = it_stb-menge.
it_comp-meins = it_stb-meins.
collect it_comp.
clear it_comp.
endloop.
ENDFORM.
using this i got the bom explosion and also i tried to use the following code
to diplay alv diplay,but i got the errormsg,
here i got only one material input,instead of i want to use
select options to from to ,if i give 1 to 10 material
ouput is
material 1
descripn
bom and components
materials 2
desc
bom comp
TYPE-POOLS : SLIS.
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA : WA_FIELDCAT_LN LIKE LINE OF IT_FIELDCAT.
DATA : IT_EVENTCAT TYPE SLIS_T_EVENT.
DATA : WA_EVENTCAT_LN LIKE LINE OF IT_EVENTCAT.
DATA : IT_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: S_COL_POS TYPE I.
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA : WA_FIELDCAT_LN LIKE LINE OF IT_FIELDCAT.
DATA : IT_EVENTCAT TYPE SLIS_T_EVENT.
DATA : WA_EVENTCAT_LN LIKE LINE OF IT_EVENTCAT.
DATA : IT_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: S_COL_POS TYPE I.
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA : WA_FIELDCAT_LN LIKE LINE OF IT_FIELDCAT.
DATA : IT_EVENTCAT TYPE SLIS_T_EVENT.
DATA : WA_EVENTCAT_LN LIKE LINE OF IT_EVENTCAT.
DATA : IT_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: S_COL_POS TYPE I.
FORM BUILD_FIELDCATALOG.
PERFORM BUILD_FIELDCAT USING 'MATKL'.
PERFORM BUILD_FIELDCAT USING 'IDNRK.
PERFORM BUILD_FIELDCAT USING 'OJTXP.
PERFORM BUILD_FIELDCAT USING 'MENGE'.
PERFORM BUILD_FIELDCAT USING 'MEINS'.
ENDFORM.
FORM TO BUILD IN FIELD CATALOG FOR ALV FORM
FORM BUILD_FIELDCAT USING L_FIELDNAME LIKE DD03L-FIELDNAME S_TEXT LIKE DD03P-SCRTEXT_M.
CLEAR WA_FIELDCAT_LN.
ADD 1 TO S_COL_POS.
WA_FIELDCAT_LN-REF_TABNAME = 'IT_COMP'.
WA_FIELDCAT_LN-FIELDNAME = L_FIELDNAME.
WA_FIELDCAT_LN-SELTEXT_M = S_TEXT.
WA_FIELDCAT_LN-COL_POS = S_COL_POS.
WA_FIELDCAT_LN-QFIELDNAME = SPACE.
WA_FIELDCAT_LN-HOTSPOT = SPACE.
WA_FIELDCAT_LN-JUST = 'R'.
APPEND WA_FIELDCAT_LN TO IT_FIELDCAT.
ENDFORM.
FORM TO BUILD IN FIELD CATALOG FOR ALV FORM
FORM DATA_DISPLAY.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = TEXT-001
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = IT_FIELDCAT
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_COMP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
GIVE ME SOLUTION FOR THAT ON, VERY URGENT
THANKS IN ADVANCE
regards
dsHi
declare select-options instead of parameters
for converting a report to ALV
create a field catalog.
for this two option declare a itab with
fcat TYPE slis_t_fieldcat_alv
and pass the field name,descr etc to fcat and append the same.
or create structur same as your itab and pass the same with FM
'REUSE_ALV_FIELDCATALOG_MERGE'
use either <b>reuse_alv_grid_display or reuse_alv_list_display</b> .
and pass the itab.
thanks
Shiva -
Can't plot image into WDT waveform graph
I'm trying to plot an icon onto a WDT waveform graph but it doesn't seem to be working. The image plots while using the default (array of doubles) data type, but goes missing when I change to WDT. As far as I can tell, the two graphs are the same except for their data type.
Am I missing a step or is this a LabVIEW bug?
Attachments:
WDT problem.vi 26 KBI was able obtain the icon on the WDT waveform graph in your code by changing the property selected on its property node to PlotImages.Middle.
-
How to make this into a SWC?
I have 1 movie clip and four buttons, along with a layer for actionscript. selecting evrything and going "convert to symbol - movie clip" breaks the application as the code cannot find the specified componets such as button 1, 2,3,4 and the movie clip.
How do I take this project and make it into a swc so I can use it in flash builder? Publishing as is, as a swc, doen't work as I cannot then call it in flashbuilder because I have no class to call.select the on-stage objects only and convert to a movieclip symbol. then copy and actionscript in the actions panel, go to your movieclip's timeline, click the first frame and paste that code into the actions panel.
now find your new movieclip in the library, right click and click export swc. -
How to plot a olap time in graph in wad
hi all
i want to design technical content queries in wad but facing problem in ploting time in x or y axis.i tried all option but it is not working out..
i am using time scatter graph..
thanks
shaliniHi DFGray.
Thanks for your post.
If you look at the attached file, how do I make the changes that you describes. Maybe you could make the changes in the vi and post it to me?
I just think that I have be done all the things that you suggests but still I can't make it work.
- Clausny
Attachments:
starttimeVI.vi 27 KB -
Tabular report, how to split row into two lines per record
Hi, I have a tabular report based on a collection. The collection has 15 fields and appears horizontally across the screen. I would like to have a break after the 5th column so that each row is on two lines instead of one. Is this possible...any information would be helpful.
a shortened query is: and I would like the break to be between c028 and c029.
thanks
Karen
Select apex_item.select_list_from_lov_xl
(28,
c028,
'GEARS',
'style="width:200px;background-color:#FBEC5D; "'
|| 'onchange="f_set_casc_gear(this,f29_'
|| LPAD (seq_id, 4, '0')
|| ')"',
'YES',
'0',
'- Select Gear -',
'f28_' || LPAD (seq_id, 4, '0'),
NULL,
'NO'
) gear_code,
apex_item.select_list_from_query(29,
c029,
'select lma_desc e, lma_code r
from lobster_mgmt_area
where 1 in (select 1 from gears where gear_code = '
||nvl(c028,0)
||' AND (type_code in (''005'') and category_code in (''160'')) OR ('
||nvl(c028,0)
||' in (''130'')) ) order by lma_code ',
'style="width:75px"',
'YES',
'0',
'- Select -',
'f29_' || LPAD (seq_id, 4, '0'),
NULL,
'NO') lma_code,
apex_item.text
(30,
c030,
6,
NULL,
'style="width:50px;background-color:#FBEC5D;"'
) gear_quantity
from collections where collection_name = 'EFFORT_C'Hello Karen,
>> and each field needs to be updateble ( concatenating two fields does not allow for that).
Did you notice the ‘<br />’ component, as part of the columns concatenations?
The following example is using the same principle – every two updatable column, from the employees table, are sharing the same tabular form row - http://htmldb.oracle.com/pls/otn/f?p=22710:420 . The report query is:
select apex_item.text(10,first_name)||'<br />'||apex_item.text(11,last_name) col01,
apex_item.text(12,phone_number)||'<br />'||apex_item.text(13,email) col02,
apex_item.text(14,salary)||'<br />'||apex_item.text(15,commission) col03
from employeesThe same principle is being used to define custom headings.
Hope this time it will be more clear.
Regards,
Arie. -
Kindly guide me on how to model following scenarios into SAP;
Please Guide
Characteristics
Length - L
Width - W
Height - H
Glue Flap- K1
Overlap - K2
No of UPS CD- K3
No of UPS MD- K4
Side lay in MD 1- K 5
Side lay in MD 2- k16
Front Lay in CD- K 6
Backside Margin in CD- K 7
Lamination Margin K 8
Board Cost K9
Ink GSM K 10
Ink Rate K 11
Lamination 10 PET K 12
Price of PET K 13
Lamination Glue GSM K 14
Price of Glue K 15
Wastage allowance K 17
Board GSM K 18
Variable formula
V1 =(W + K2)/2
V2 =(WHK2)
V3 =(L+W)*2 + K1
V4 =(WHK2)*K3
V5 =((lW)*2K1)* k4
V6 = if no of K3 > 3 then 10 else 5
V7 =V4 + V6 + K6 + K7
V8 =V5 + k5 + K16 +k8
V9 =(2825.40.9)/V7
V10 =(4025.40.88)/V8
V11 =K3 * K4
V12 =(V4 * V5) / V11
V13 =V12 * K10 * K11
V14
V15 =(V7 * V8) / V11
V16 =1000/ V11* V7 * V8 / 1000000 * k18 / 1000
V 17 = V16 * K9
V 18 =( V13 + V17)*(100+k17)/100
V 19 =( V13 + V17 + V18)
V 20 = k12 * 1.4
V 21 = V15 * V20
V 22 = K13 * V21
V 23 = k14 * V15
V 24 =k15 * V23
V 25 = (V19 +V22 + V24)* K17/100
V 26 = V19 + V22 + V24 + V25Dear Dipak,
Thanks a lot
#1. I have a material "x"
#2. Characteristics of "x", is described by L,W,H, k1 to k18
#3. The attributes of these characteristics are dynamic
#4. The parameters & costs are defined by formulae "V" series - V1 to V26
#5. "Acceptance" of "x" is based on suitable end values from formulae - V1 to V26
#6. Currently we guys are doing the modelling based excel sheets.
#7. Same process, we want in SAP
#8. So that, once attributes are frozen, the model or specs or bom is released for procurement / production
I HOPE, I HAVE EXPLAINED CLEARLY.
Welcome with healthy criticism
Warm Regards
Ramana -
I want to implement the following C++ code in labview but i cannot make or loop to increase by two
int j = 0; for ( int i = 0; i < G_ReadLen; i = i + 2 ) {
BYTE AD_H = ByteArray.GetAt(i);
BYTE AD_L = ByteArray.GetAt(i + 1);
ValueArray[j] = AD_H << 8;
ValueArray[j] = ValueArray[j] + AD_L;unsigned long Temp = ValueArray[j] >> 12; Volts[j] = ((float)ValueArray[j]) * 0.0048875;Message.Format("%X , %X - %X, -- %d, +%.3f Volts", AD_H, AD_L, ValueArray[j], ValueArray[j], Volts[j]); m_output_ep1i.InsertString(0,Message);
j = j + 1;
Thanks
Solved!
Go to Solution.Your code will not work.
You are replacing elements of an empty array. A no-op in LabVIEW.
Besides there is a lot easier way to do this:
I just hope this is not a homework assignment.
And for completeness sake here is Mikes solution (seen below):
Ton
Message Edited by TonP on 11-14-2008 12:55 PM
Message Edited by TonP on 11-14-2008 01:03 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Attachments:
Read as U16.png 2 KB
Maybe you are looking for
-
Publisher 2013 - will not open under DOMAIN user profile.
Publisher 2013 - will not open/launch under a normal user profile. mspub.exe shows in taskmanager then disappears. This is a Windows 7 machine.
-
I have a dvd stuck in the drive and as I can not boot is there a way of removing the dvd ?
Hi I have a dvd stuck in the drive and as I can not boot is there a way of removing the dvd ?
-
I transfer my movies to an external HDD to save space on my MacBook after they have been viewed. I basically just copy and paste it to the HDD, delete from my MacBook, then re-add to the iTunes library. I have the external HDD setup wirelessly throug
-
Fast-Reroute on a ring with Gig Interface
Hi, I'm trying to setup a fast-reroute option on a 4 routers ring connected through gige with OSPF. The main idea is to be able to use xconnect between A & B for normal route with a backup through C & D in case of Gig failure AB. I created two tunnel
-
Applications view changes from Icons to Column
I've gone into applications and checked icon view. All worked well til a month or so ago. When I went in to apps. I noticed it was in column view. I switched it back to icon view, then shut down. Next day, same thing. Apple couldn't give me a resolut