偏振态矢量,如何导出用matlab重画?

fdtd

#1

老师好,如题,加入波导中心线偏振态是变化的,可以看到电场的矢量图(如图),但是数据不可以导出来,我要怎样做才能将数据导出,并用matlab重画呢?看到过有人说可以,我不知怎么弄,是否能给一个例子或者具体操作方法,十分感谢!


#2

可以导出的数据只有传播方向坐标和Re(E),信息不全。
centre line:E: Re(E) vs z, x=1.54545e-08(m), y=1.54545e-08(m), lambda=1.55e-06(m)

centre line:E: Re(E) vs z, x=1.54545e-08(m), y=1.54545e-08(m), lambda=1.55e-06(m)

z(microns), Re(E)
-0.00458861, 0.0825931
0.0272152, 1.38137
0.059019, 1.37696
0.0908228, 1.37587
0.122627, 1.37911
0.15443, 1.38609
0.186234, 1.39472
0.218038, 1.40219
0.249842, 1.40607
0.281646, 1.40525
0.313449, 1.40038
0.345253, 1.39379
0.377057, 1.38873
0.408861, 1.38813
0.440665, 1.39303
0.472468, 1.4014
0.504272, 1.40834
0.536076, 1.40978
0.56788, 1.40745
0.599684, 1.40328
0.631487, 1.39818
0.663291, 1.39228
0.695095, 1.38549
0.726899, 1.37781
0.758703, 1.36954
0.790506, 1.36133
0.82231, 1.354
0.854114, 1.34834
0.885918, 1.34484
0.917722, 1.34351
0.949525, 1.34383
0.981329, 1.34491
1.01313, 1.34574
1.04494, 1.34553
1.07674, 1.34397
1.10854, 1.34133
1.14035, 1.33843
1.17215, 1.33637
1.20396, 1.33619
1.23576, 1.33849
1.26756, 1.34319
1.29937, 1.3495
1.33117, 1.35616
1.36297, 1.36176
1.39478, 1.36525
1.42658, 1.36619
1.45839, 1.36497
1.49019, 1.36266
1.52199, 1.36073
1.5538, 1.36056
1.5856, 1.36301
1.61741, 1.36808
1.64921, 1.37486
1.68101, 1.38182
1.71282, 1.38728
1.74462, 1.38991
1.77642, 1.38916
1.80823, 1.38544
1.84003, 1.38001
1.87184, 1.37466
1.90364, 1.37113
1.93544, 1.37057
1.96725, 1.37313
1.99905, 1.37792
2.03085, 1.38325
2.06266, 1.38722
2.09446, 1.3883
2.12627, 1.38578
2.15807, 1.38004
2.18987, 1.37244
2.22168, 1.36493
2.25348, 1.35945
2.28528, 1.35732
2.31709, 1.35877
2.34889, 1.3629
2.3807, 1.36793
2.4125, 1.37183
2.4443, 1.37295
2.47611, 1.37055
2.50791, 1.36503
2.53972, 1.3578
2.57152, 1.35087
2.60332, 1.34625
2.63513, 1.34524
2.66693, 1.348
2.69873, 1.35351
2.73054, 1.35988
2.76234, 1.36503
2.79415, 1.36731
2.82595, 1.36605
2.85775, 1.36174
2.88956, 1.35586
2.92136, 1.35051
2.95316, 1.34763
2.98497, 1.34844
3.01677, 1.35295
3.04858, 1.35997
3.08038, 1.36753
3.11218, 1.37351
3.14399, 1.3763
3.17579, 1.37531
3.20759, 1.37116
3.2394, 1.36544
3.2712, 1.36029
3.30301, 1.35767
3.33481, 1.35872
3.36661, 1.3634
3.39842, 1.37043
3.43022, 1.37778
3.46203, 1.38332
3.49383, 1.38547
3.52563, 1.38368
3.55744, 1.37859
3.58924, 1.37184
3.62104, 1.36556
3.65285, 1.36175
3.68465, 1.36157
3.71646, 1.365
3.74826, 1.37084
3.78006, 1.37713
3.81187, 1.38178
3.84367, 1.38325
3.87547, 1.38097
3.90728, 1.37549
3.93908, 1.36837
3.97089, 1.3616
4.00269, 1.35709
4.03449, 1.35598
4.0663, 1.35833
4.0981, 1.3631
4.12991, 1.36852
4.16171, 1.37271
4.19351, 1.37423
4.22532, 1.37252
4.25712, 1.36806
4.28892, 1.36214
4.32073, 1.35651
4.35253, 1.35283
4.38434, 1.35209
4.41614, 1.35435
4.44794, 1.35874
4.47975, 1.36375
4.51155, 1.3678
4.54335, 1.36968
4.57516, 1.36892
4.60696, 1.36591
4.63877, 1.36175
4.67057, 1.35785
4.70237, 1.35555
4.73418, 1.35562
4.76598, 1.35807
4.79778, 1.36215
4.82959, 1.36665
4.86139, 1.37028
4.8932, 1.37207
4.925, 1.37168
4.9568, 1.36945
4.98861, 1.36627
5.02041, 1.36328
5.05222, 1.36155
5.08402, 1.36168
5.11582, 1.36368
5.14763, 1.36695
5.17943, 1.37053
5.21123, 1.37338
5.24304, 1.37473
5.27484, 1.37429
5.30665, 1.37226
5.33845, 1.36934
5.37025, 1.36642
5.40206, 1.36437
5.43386, 1.36372
5.46566, 1.36459
5.49747, 1.36663
5.52927, 1.36917
5.56108, 1.37142
5.59288, 1.37273
5.62468, 1.37271
5.65649, 1.37138
5.68829, 1.36908
5.72009, 1.3664
5.7519, 1.364
5.7837, 1.36242
5.81551, 1.36197
5.84731, 1.36267
5.87911, 1.36423
5.91092, 1.36619
5.94272, 1.36799
5.97453, 1.36918
6.00633, 1.36942
6.03813, 1.36864
6.06994, 1.367
6.10174, 1.36488
6.13354, 1.36279
6.16535, 1.36123
6.19715, 1.36061
6.22896, 1.3611
6.26076, 1.36264
6.29256, 1.36486
6.32437, 1.36722
6.35617, 1.36912
6.38797, 1.37004
6.41978, 1.36972
6.45158, 1.36822
6.48339, 1.36593
6.51519, 1.3635
6.54699, 1.36167
6.5788, 1.36103
6.6106, 1.36187
6.64241, 1.36403
6.67421, 1.36696
6.70601, 1.36984
6.73782, 1.37182
6.76962, 1.37228
6.80142, 1.37104
6.83323, 1.36843
6.86503, 1.36521
6.89684, 1.36237
6.92864, 1.36082
6.96044, 1.36109
6.99225, 1.36316
7.02405, 1.3664
7.05585, 1.36981
7.08766, 1.37226
7.11946, 1.37292
7.15127, 1.37148
7.18307, 1.36828
7.21487, 1.36426
7.24668, 1.36067
7.27848, 1.35866
7.31028, 1.35892
7.34209, 1.36143
7.37389, 1.3654
7.4057, 1.36957
7.4375, 1.37256
7.4693, 1.37333
7.50111, 1.37151
7.53291, 1.36759
7.56472, 1.36272
7.59652, 1.35846
7.62832, 1.35623
7.66013, 1.35685
7.69193, 1.36024
7.72373, 1.36542
7.75554, 1.3708
7.78734, 1.37469
7.81915, 1.37582
7.85095, 1.37379
7.88275, 1.36917
7.91456, 1.36337
7.94636, 1.35825
7.97816, 1.35552
8.00997, 1.35618
8.04177, 1.36016
8.07358, 1.3663
8.10538, 1.37276
8.13718, 1.37755
8.16899, 1.3792
8.20079, 1.37718
8.23259, 1.3721
8.2644, 1.36551
8.2962, 1.35949
8.32801, 1.35598
8.35981, 1.35614
8.39161, 1.35996
8.42342, 1.36625
8.45522, 1.37303
8.48703, 1.37816
8.51883, 1.38005
8.55063, 1.37809
8.58244, 1.37285
8.61424, 1.36594
8.64604, 1.35949
8.67785, 1.35551
8.70965, 1.35524
8.74146, 1.35869
8.77326, 1.36466
8.80506, 1.37117
8.83687, 1.37608
8.86867, 1.3778
8.90047, 1.37575
8.93228, 1.37054
8.96408, 1.36375
8.99589, 1.35753
9.02769, 1.35382
9.05949, 1.35377
9.0913, 1.35731
9.1231, 1.36322
9.15491, 1.36952
9.18671, 1.37413
9.21851, 1.37556
9.25032, 1.37335
9.28212, 1.36818
9.31392, 1.36171
9.34573, 1.35601
9.37753, 1.35296
9.40934, 1.35358
9.44114, 1.35766
9.47294, 1.3639
9.50475, 1.37031
9.53655, 1.37487
9.56835, 1.37618
9.60016, 1.37388
9.63196, 1.36873
9.66377, 1.36243
9.69557, 1.35703
9.72737, 1.35434
9.75918, 1.3553
9.79098, 1.35965
9.82278, 1.36607
9.85459, 1.37257
9.88639, 1.37721
9.9182, 1.37862
9.95, 1.37647
9.9818, 1.37149
10.0136, 1.36531
10.0454, 1.35989
10.0772, 1.35697
10.109, 1.35747
10.1408, 1.36122
10.1726, 1.36701
10.2044, 1.37304
10.2362, 1.37749
10.268, 1.37906
10.2998, 1.37736
10.3316, 1.37299
10.3634, 1.36733
10.3953, 1.36212
10.4271, 1.35893
10.4589, 1.35862
10.4907, 1.36115
10.5225, 1.36559
10.5543, 1.37045
10.5861, 1.37418
10.6179, 1.37567
10.6497, 1.37452
10.6815, 1.37115
10.7133, 1.36661
10.7451, 1.36229
10.7769, 1.35943
10.8087, 1.35878
10.8405, 1.36034
10.8723, 1.36344
10.9041, 1.36698
10.9359, 1.36978
10.9677, 1.37098
10.9995, 1.37026
11.0313, 1.3679
11.0631, 1.36469
11.0949, 1.36162
11.1267, 1.35961
11.1585, 1.35919
11.1903, 1.36038
11.2222, 1.3627
11.254, 1.36536
11.2858, 1.36753
11.3176, 1.36857
11.3494, 1.36823
11.3812, 1.36672
11.413, 1.36455
11.4448, 1.36245
11.4766, 1.36107
11.5084, 1.36082
11.5402, 1.36176
11.572, 1.3636
11.6038, 1.36583
11.6356, 1.36784
11.6674, 1.36911
11.6992, 1.36938
11.731, 1.36865
11.7628, 1.3672
11.7946, 1.36548
11.8264, 1.364
11.8582, 1.36319
11.89, 1.36329
11.9218, 1.36432
11.9536, 1.36605
11.9854, 1.36809
12.0172, 1.36998
12.0491, 1.37126
12.0809, 1.37162
12.1127, 1.37097
12.1445, 1.36943
12.1763, 1.36739
12.2081, 1.36534
12.2399, 1.36383
12.2717, 1.36332
12.3035, 1.36401
12.3353, 1.3658
12.3671, 1.36827
12.3989, 1.37079
12.4307, 1.37264
12.4625, 1.37326
12.4943, 1.37235
12.5261, 1.37004
12.5579, 1.36686
12.5897, 1.36365
12.6215, 1.36129
12.6533, 1.36049
12.6851, 1.36154
12.7169, 1.36417
12.7487, 1.36766
12.7805, 1.37095
12.8123, 1.37302
12.8441, 1.37316
12.8759, 1.37123
12.9078, 1.36766
12.9396, 1.36345
12.9714, 1.35979
13.0032, 1.3578
13.035, 1.3581
13.0668, 1.36061
13.0986, 1.36457
13.1304, 1.36874
13.1622, 1.37182
13.194, 1.37282
13.2258, 1.37137
13.2576, 1.36786
13.2894, 1.36337
13.3212, 1.35929
13.353, 1.35694
13.3848, 1.35709
13.4166, 1.35974
13.4484, 1.36406
13.4802, 1.36867
13.512, 1.37209
13.5438, 1.37323
13.5756, 1.37169
13.6074, 1.36795
13.6392, 1.36324
13.671, 1.3591
13.7028, 1.35698
13.7347, 1.35766
13.7665, 1.36103
13.7983, 1.36605
13.8301, 1.37113
13.8619, 1.37463
13.8937, 1.3754
13.9255, 1.37312
13.9573, 1.36849
13.9891, 1.36298
14.0209, 1.35841
14.0527, 1.35638
14.0845, 1.35769
14.1163, 1.36205
14.1481, 1.36816
14.1799, 1.37411
14.2117, 1.37802
14.2435, 1.37859
14.2753, 1.37557
14.3071, 1.36979
14.3389, 1.36304
14.3707, 1.35744
14.4025, 1.35482
14.4343, 1.35612
14.4661, 1.36101
14.4979, 1.36801
14.5297, 1.37494
14.5616, 1.37964
14.5934, 1.38064
14.6252, 1.37757
14.657, 1.3713
14.6888, 1.36372
14.7206, 1.35712
14.7524, 1.35357
14.7842, 1.35417
14.816, 1.3587
14.8478, 1.3657
14.8796, 1.37295
14.9114, 1.37819
14.9432, 1.37982
14.975, 1.37737
15.0068, 1.37158
15.0386, 1.36423
15.0704, 1.3576
15.1022, 1.3537
15.134, 1.3537
15.1658, 1.35747
15.1976, 1.3637
15.2294, 1.37033
15.2612, 1.37526
15.293, 1.37698
15.3248, 1.375
15.3566, 1.37004
15.3884, 1.3637
15.4203, 1.35802
15.4521, 1.35481
15.4839, 1.35503
15.5157, 1.35851
15.5475, 1.36402
15.5793, 1.36969
15.6111, 1.37368
15.6429, 1.37474
15.6747, 1.3726
15.7065, 1.368
15.7383, 1.36249
15.7701, 1.35794
15.8019, 1.35586
15.8337, 1.35695
15.8655, 1.36085
15.8973, 1.36627
15.9291, 1.37144
15.9609, 1.3747
15.9927, 1.37501
16.0245, 1.37229
16.0563, 1.36743
16.0881, 1.36203
16.1199, 1.35787
16.1517, 1.35633
16.1835, 1.35798
16.2153, 1.36234
16.2472, 1.36806
16.279, 1.37338
16.3108, 1.37666
16.3426, 1.37694
16.3744, 1.37416
16.4062, 1.36918
16.438, 1.36354
16.4698, 1.35898
16.5016, 1.35691
16.5334, 1.35795
16.5652, 1.36177
16.597, 1.36717
16.6288, 1.37254
16.6606, 1.37631
16.6924, 1.37745
16.7242, 1.37568
16.756, 1.37162
16.7878, 1.36647
16.8196, 1.36176
16.8514, 1.35879
16.8832, 1.35833
16.915, 1.36038
16.9468, 1.36419
16.9786, 1.36859
17.0104, 1.37227
17.0422, 1.37426
17.0741, 1.3741
17.1059, 1.37197
17.1377, 1.36856
17.1695, 1.36486
17.2013, 1.36187
17.2331, 1.3603
17.2649, 1.36041
17.2967, 1.36196
17.3285, 1.36436
17.3603, 1.36687
17.3921, 1.3688
17.4239, 1.3697
17.4557, 1.36944
17.4875, 1.36823
17.5193, 1.36648
17.5511, 1.36468
17.5829, 1.36326
17.6147, 1.36249
17.6465, 1.36246
17.6783, 1.36303
17.7101, 1.36397
17.7419, 1.36499
17.7737, 1.36583
17.8055, 1.36632
17.8373, 1.36641
17.8691, 1.36615
17.9009, 1.36567
17.9328, 1.36514
17.9646, 1.36475
17.9964, 1.36461
18.0282, 1.36479
18.06, 1.36522
18.0918, 1.36578
18.1236, 1.36629
18.1554, 1.36655
18.1872, 1.36645
18.219, 1.36598
18.2508, 1.36525
18.2826, 1.36454
18.3144, 1.36414
18.3462, 1.36433
18.378, 1.36522
18.4098, 1.36674
18.4416, 1.36856
18.4734, 1.37018
18.5052, 1.37111
18.537, 1.37096
18.5688, 1.36963
18.6006, 1.36738
18.6324, 1.36478
18.6642, 1.36261
18.696, 1.36159
18.7278, 1.36218
18.7597, 1.36435
18.7915, 1.36759
18.8233, 1.37098
18.8551, 1.37347
18.8869, 1.37422
18.9187, 1.37283
18.9505, 1.36958
18.9823, 1.36535
19.0141, 1.36146
19.0459, 1.35922
19.0777, 1.35958
19.1095, 1.3627
19.1413, 1.36788
19.1731, 1.37367
19.2049, 1.37829
19.2367, 1.38014
19.2685, 1.3783
19.3003, 1.37285
19.3321, 1.36494
19.3639, 1.35659
19.3957, 1.35017
19.4275, 1.34762
19.4593, 1.34956
19.4911, 1.35437
19.5229, 1.35807
19.5547, 1.35964
19.5866, 1.36065
19.6184, 1.36226
19.6502, 1.36478
19.682, 1.3681
19.7138, 1.37191
19.7456, 1.37588
19.7774, 1.37972
19.8092, 1.38322
19.841, 1.38622
19.8728, 1.38869
19.9046, 1.39067
19.9364, 1.39225
19.9682, 1.39356
20, 1.39472


#3

你的数据可能是按图形导出的,所有电场分量的实部和虚部都可以导出来,然后用Matlab画。但是,由于Lumerical用的网格一般是不均匀的,而Matlab必须使用均匀网格,参见这个帖子,所以再将结果传送到Matlab之前需要做些变换。

关于Vector plots和Matlab的矢量作图,参见这个介绍