是德科技
直播中

卢兰凤

8年用户 224经验值
私信 关注
[问答]

创建具有两个或更多不同X轴的散点图

您好我正在尝试使用两个或更多不同的X轴创建散点图。
附件是带有示例的Excel电子表格和名为“XYChart.vee”的Hp Vee示例程序。我正在使用Vee 9.3运行Window 7。
谢谢Tony Sellas

以上来自于谷歌翻译


     以下为原文

  Hello

I am trying to create a scatter plot with two or more different X-axis.
Attached is an Excel spreadsheet with an example and the Hp Vee example program named "XYChart.vee"

I am running Window 7 with Vee 9.3.


Thank you,  

Tony Sellas  

回帖(7)

顾天天

2018-10-12 17:32:47
我看不到你的附件。
您可能会意识到,通常情况下,有多个X /域/水平轴是不常见的。
AFAIR你可以用VEE做2个垂直/ Y轴,但也许不行。
在没有看到你的例子的情况下,我建议采取一些方法:通过创建辅助轴(假设它必须对主X轴有一些影响,假设),在图形下方使用不同的图形组件...使用
MatLab图(有很多例子) - 我已经将它们用于表面和其他3D视图 - 或者 - VEE支持.NET(和COM),过去我使用过TeeChart(来自steema.com)
我需要弄乱标记等等。
当然还有其他选择,也许是内置的MS .NET图表(ZChart是吗?)在极限情况下,如果Excel是唯一的实用工具,你当然可以自动化图形构造。
HTH,Mike Watts

以上来自于谷歌翻译


     以下为原文

  I couldn't see your attachments.  You probably realise it's unusual to have more than one X/domain/horizontal axis as you normally plot against that.

AFAIR you can do 2 vertical/Y axes with VEE but maybe no more.

Without seeing your example I'd suggest a few ways to go:
'fake' it by creating supplementary axes ( which must have some bearing to the main X axis, I presume ) beneath the graph

use a different graph component...

use a MatLab graph ( there are loads of examples ) - I've used these for surface and other 3D-view graphs

-or - VEE supports .NET ( and COM ) and in the past I've used TeeChart ( from steema.com ) where I needed to mess with markers and so forth.  There are other options of course, maybe the built-in MS .NET chart ( ZChart is it? )

In the limit, if Excel is the only practical tool you can of course automate the graph construction with that.

HTH,

Mike Watts
举报

卢兰凤

2018-10-12 17:46:18
嗨,迈克,谢谢你的帮助。
我正在测试不同电路和偏置的PIPO。
每个电路的输入功率(X轴)不同。
要在Excel中创建最终报告,我必须手动为每个数据集选择X轴和Y轴。
我会尝试再次附加该文件。
以下是具有不同x轴的几个简单数据集的示例。第一数据集_X__y_ 12.2 22.4 32.6 42.8 53 63.2 73.4 83.6 93.8第二数据集_X__y_ 1.52.2 22.4 2.52.6 32.8 3.53 43.2 4.53.4 53.6 5.53.8 3rd
数据集_X__y_ 1.32.2 1.62.4 1.92.6 2.22.8 2.53 2.83.2 3.13.4 3.43.6 3.73.8谢谢,

以上来自于谷歌翻译


     以下为原文

  Hi Mike,
Thanks for you help. 

I am testing PIPO on different circuits and bias.
The input power (X-axis) is not the same for each ciircuit.

To create a final report in Excel I have to manually select the X-axis and Y-axis for each data set.
I will try to attach the file again. 

Below are examples of several simple data sets with different x-axis.. 

1st Data set     
_X_     _y_
1     2.2
2     2.4
3     2.6
4     2.8
5     3
6     3.2
7     3.4
8     3.6
9     3.8


2nd data set     
_X_     _y_
1.5     2.2
2     2.4
2.5     2.6
3     2.8
3.5     3
4     3.2
4.5     3.4
5     3.6
5.5     3.8

3rd data set     
_X_     _y_
1.3     2.2
1.6     2.4
1.9     2.6
2.2     2.8
2.5     3
2.8     3.2
3.1     3.4
3.4     3.6
3.7     3.8


Thanks,

附件

举报

顾天天

2018-10-12 18:05:55
引用: yweyerwq 发表于 2018-10-12 11:43
嗨,迈克,谢谢你的帮助。
我正在测试不同电路和偏置的PIPO。
每个电路的输入功率(X轴)不同。

好的,绝对可行,但不是图表最直接的应用。
我附上了一个看起来像你的电子表格的例子。
注意:映射的所有输入都是数据 - >常量 - > Real64,但一般情况下,如果(a)对象标题被短的&更改,则更容易读取程序。
有意义的
(b)然后通过点击图表LHS上的Trace 1来最小化它们改变痕迹颜色(名称等),或者你可以通过进入属性(左下窗口)找到它们,找到Traces并点击
...打开一个对话框,可以通过单击Y名称将Y比例从自动更改为固定,同样可以如上所述设置具有X名称或两者的X比例,但是对于Scales属性,可以向图形添加额外的跟踪
通过图形对象的菜单添加终端 - >数据输入...同样将映射值引脚添加到数据 - >访问数组 - >设置映射对象,单击对象菜单添加终端 - >数据输入然后选择映射从1
,再次执行相同操作以获取Map To 1输入引脚。
如果有什么不清楚,那就继续问!
迈克沃茨

以上来自于谷歌翻译


     以下为原文

  Ok, definitely doable but not the most straightforward application of the charts.  I have attached an example which looks like your spreadsheet.

Notes:
all of the inputs to the mappings are Data -> Constant -> Real64 but in 
general it is easier to read the program if (a) object titles are
changed with something short & meaningful & (b) they are then minimised

change the trace colours ( names and so forth ) by clicking on Trace 1
on the LHS of the graph or you can get to them by going into the
properties ( left lower window ), find Traces and click on the ... to
open a dialog box

the Y scale can be changed from auto to fixed by clicking on Y name, 
likewise X scale with X name or both can be set as noted above but for
the Scales properties

Add extra traces to the graph by the graph object's menu Add Terminal ->
Data Input...

Likewise to add the mapping values pins to the Data -> Access Array ->
Set Mappings objects, click on the objects menu Add Terminal -> Data
Input then select Map From 1, do the same again to get the Map To 1
input pin.

If anything is not clear then keep asking!

Mike Watts

附件

举报

王君凯

2018-10-12 18:23:48
引用: bgvywerq 发表于 2018-10-12 12:02
好的,绝对可行,但不是图表最直接的应用。
我附上了一个看起来像你的电子表格的例子。
注意:映射的所有输入都是数据 - >常量 - > Real64,但一般情况下,如果(a)对象标题被短的&更改,则更容易读取程序。

我不得不说迈克,我喜欢这个。
在使用vee的所有年份中,我从未使用过'set mapping'函数。
西蒙

以上来自于谷歌翻译


     以下为原文

  I have to say Mike I love this. Of all the years using vee I have never used the 'set mapping' function. 

Simon
举报

更多回帖

发帖
×
20
完善资料,
赚取积分